On Sun, 2006-10-15 at 21:52 -0500, Edward A. Muller wrote:
> Just looking to see if there is any recent news on the Model Inheritance
> project/code?
Not really and no news is not good news on this one.
I've been the one dragging us down here. Sorry, I suck. Some jobs and a
couple of other non-
I tried creating sessions for each app
and then did htis code
def session_mw(app):
sessionStore = DiskSessionStore(storeDir="%s/sessions/" %
os.getcwd(), timeout=5)
sessionStore= sessionStore.createSession()
return SessionMiddleware(sessionStore, app)
def initsession(session):
ses
Just looking to see if there is any recent news on the Model Inheritance
project/code?
--
Edward Muller
Manager - Interlix, LLC
417.862.0573
http://interlix.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"D
On Sun, 2006-10-15 at 12:45 -0700, MindsX wrote:
> Hi all,
>
> Anyone got a quick hack to turn _all_ INTs in SQL generated code to
> BIGINT?
>
> either in the models or running code accross the source
>
> I grep'd the db directory -
>
> backends/ado_mssql/creation.py:'PositiveIntegerFi
On Sun, 2006-10-15 at 09:52 +, a wrote:
> I m trying to import these legacy databases into the dbadmin system of
> django
> thanks for any help
>
> CREATE TABLE choices
> (
> id serial NOT NULL,
> poll_id int4 NOT NULL,
> choice text,
> vote int4 NOT NULL DEFAULT 0,
> created timest
On Sat, 2006-10-14 at 21:30 +0200, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I'm currently writing some doctests for a model and got the following error
> message which I don't understand:
>
> Failed example:
> print q
> Exception raised:
> Traceback (most recent call last):
> File "
On Sat, 2006-10-14 at 04:47 -0700, Ewout ter Haar wrote:
> I am trying to make use of the django admin, to use with a database
> which is normally managed by another (PHP) application. I ran
> inspectdb, and after tweaking the models a little bit, it works for
> basic fields like InterFields, Char
On Oct 15, 2006, at 3:18 PM, Marcus Mendes wrote:
>
> Hello all,
> what about if we put "[django-users]" (or something like this) string
> at the begining of subject of our e-mails? It will be more easy to
> identify all e-mails tha came from that list.
Why clutter the subject lines with redund
On 10/15/06, Marcus Mendes <[EMAIL PROTECTED]> wrote:
> what about if we put "[django-users]" (or something like this) string
> at the begining of subject of our e-mails? It will be more easy to
> identify all e-mails tha came from that list.
Big -1.
I'm not sure that would really make it any "
code enquest wrote:
> I need to do the following with Django.
> I need to read diffrent RSS or Atom feeds And print the latest on a page
> according date.
>
> How would I do this with Django? What would be the best practice to
> achieve this?
>
there is nothing specific regarding django...
y
Hello all,
what about if we put "[django-users]" (or something like this) string
at the begining of subject of our e-mails? It will be more easy to
identify all e-mails tha came from that list.
Thanks.
Marcus
--
Marcus Mendes
"A coragem é a forma de todas as virtudes em ponto de prova" C.S.Lew
I have two Models.
1. Product
2. Review - There can be many reviews for any product (one -to many
relationship)
One of the fields of Review is "Rating". This holds an integer between
1 and 5.
I want to display a list of Products, and display the average review
rating for each product.
I c
On Sun, 2006-15-10 at 08:20 +, [EMAIL PROTECTED] wrote:
> Ian,
>
> First off congrats on the project and your good sense to do it in
> Django. :) I've not used Python CGI but I presume it follows the
> standard cgi model of having to launch a new process for each request.
> This will craw
Russell Keith-Magee wrote:
>
> I'm sure it could, but I'm almost certain it wont.
The only problem with this is that some kind of sites cannot be tested
with the development server.
If the site streams back the output and incrementally builds it then it
cannot for example read in the css even th
Hi all,
Anyone got a quick hack to turn _all_ INTs in SQL generated code to
BIGINT?
either in the models or running code accross the source
I grep'd the db directory -
backends/ado_mssql/creation.py:'PositiveIntegerField': 'int
CONSTRAINT [CK_int_pos_%(column)s] CHECK ([%(column)s] > 0
I have extended the user model like this, but when i edit something in
the admin, the userprofile associated with that user gets deleted.
Anyone know how i can prevent this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
I need to do the following with Django.
I need to read diffrent RSS or Atom feeds And print the latest on a page
according date.
How would I do this with Django? What would be the best practice to
achieve this?
Enquest
--~--~-~--~~~---~--~~
You received this me
On 13/10/06, MerMer <[EMAIL PROTECTED]> wrote:
>
> I can see that I could use inclusion tags or template tags. I've read
> the documentation however, I'm still unclear when you would use one
> over the other.
>
> What would be the appropriate use case for a template tag versus an
> inclusion tag
Hello,
I'd like to propose the following change to Model interface: optional
step to fixup the data got from the form before validation. This may
easily be done in custom views, but there is no proper way to do it in
admin interface. This fixup should operate on whole form data, exactly
as valida
[EMAIL PROTECTED] wrote:
>> i would like translate permissions in "insert group" and "insert user"
>> pages.
>> how can i do?
>>
>
> Django's Internationalization features are discussed here:
> http://www.djangoproject.com/documentation/i18n/
>
> Hope this helps!
>
>
> >
>
I saw that there
On 10/15/06, Karen Tracey <[EMAIL PROTECTED]> wrote:
> Yah, that does look bizarre. I have no idea what is going on but am a
> sucker for puzzles so tried to make some sense of the select. My
> feeling is the problem isn't in the StagedOrder class that you posted
> but rather one of the ones get
Hi Oli,
TimeField seems to be an ideal choice for this purpose.
If your only concern is how it displays in the admin "list view", you
can take care of that with a custom function in your model. Something
like this:
def get_duration(self):
return self.duration.strftime('%-M:%S')
get_dura
Hello there,
Getting started with Django (v. 0.95 and postgres), I'm trying to make a
first application, and I encounter some problems:
I have a database with 2 tables: addresses_network and addresses_ip,
both having among others a column "ip_addr" (of type inet, thank you
postgres). I want the
See http://forums.site5.com/showthread.php?t=10236 which deals with
installing Django on the Python CGI environment at the hosting company
Site 5 (Django Preferred Host). It involves installing Virtual Python
and other measures. If you feel that you are up to it, you could refer
GoDaddy to the thr
> i would like translate permissions in "insert group" and "insert user"
> pages.
> how can i do?
Django's Internationalization features are discussed here:
http://www.djangoproject.com/documentation/i18n/
Hope this helps!
--~--~-~--~~~---~--~~
You received this
Thanks a lot, Alex.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTE
On this subject - what hosting environments would people reccomend? I
know about Gypsy hosting but they seem to have suspended signups with
no indication as to when they will be reopening.
On Oct 15, 9:20 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Ian,
>
> First off congrats on the
Hey Guys,
I am developing a site for a band in Django, and obviously it wants to
have some music on it. I have a model called Track I want to add a
field which specifies the duration of said track.
How would I do this? Is there a special field for this which I have
missed?
At the moment, I am u
I m trying to import these legacy databases into the dbadmin system of
django
thanks for any help
CREATE TABLE choices
(
id serial NOT NULL,
poll_id int4 NOT NULL,
choice text,
vote int4 NOT NULL DEFAULT 0,
created timestamp DEFAULT now(),
CONSTRAINT choices_pkey PRIMARY KEY (id),
C
Yah, that does look bizarre. I have no idea what is going on but am a
sucker for puzzles so tried to make some sense of the select. My
feeling is the problem isn't in the StagedOrder class that you posted
but rather one of the ones getting pulled in as a result of the
StagingArea ForeignKey.
Th
Ian,
First off congrats on the project and your good sense to do it in
Django. :) I've not used Python CGI but I presume it follows the
standard cgi model of having to launch a new process for each request.
This will crawl under Django if that's the case. You're gonna need
something that allo
hi,
i would like translate permissions in "insert group" and "insert user"
pages.
how can i do?
thanks,
--
Vittorino Parenti
Thunder Systems Srl
Tel. 0258018011
Fax 0258018012
www.thundersystems.it
Riservatezza
In ottemperanza al D.L. n. 196 del 30/6/2003 in materia di protezione d
[EMAIL PROTECTED] написав:
> Thanks a lot for your response? How might I do the ALTER TABLE - I'm
> not very familiar with SQL!
Probably it would be best for you, if you learn SQL, at least to the
level you
can do 'alter'.
basically its simple:
1. execute ./manage.py sql
(see plain SQL at t
devel - Fashion Content написав:
> EnvironmentError: Could not import settings 'fcsite.settings' (Is it on
> sys.path?
OK I often get this error even when trying to configure it in
mod_python. Exactly
to fix that, I add 2 paths to my PYTHONPATH variable:
1. 1st is Path to project itself
2. 2nd
con che versione d django stai lavorando ?
joe pellizzer
yerma srl
Il giorno 14/ott/06, alle ore 22:33, Vittorino Parenti ha scritto:
>
> Hello world,
> these my models:
>
> *class* Anagrafica (models.Model):
> /## generic fields/
> dateCreate = models.DateTimeField(auto_now_add=True,
Thanks a lot for your response? How might I do the ALTER TABLE - I'm
not very familiar with SQL!
On Oct 14, 10:00 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> On 10/14/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> > If I do this and go to edit an existing entry then django just throws
36 matches
Mail list logo