Re: Preserving data through db updates/changes

2006-01-18 Thread Jeffrey E. Forcier
data and a fast and easy way to rebuild the application during development. I hope that helps. Eric. -- Jeffrey E. Forcier Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 http://www.strozllc.com This message i

Re: How are default values for fields used

2006-01-13 Thread Jeffrey E. Forcier
up on IRC yesterday, setting editable=False won't work, as he *does* want those fields to be editable in other templates, just not the one in question. Regards, Jeff -- Jeffrey E. Forcier Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-9

Re: Confused about where to put css and images

2006-01-08 Thread Jeffrey E. Forcier
ff On Jan 8, 2006, at 2:00 PM, wiz wrote: В Вск, 08/01/2006 в 11:42 -0500, Jeffrey E. Forcier пишет: 0.9, but I'm not positive) generic view which lets you assign a URL to a template directly without having to write a tiny custom view for it. http://www.djangoproject.com/documentation/gene

Re: Confused about where to put css and images

2006-01-08 Thread Jeffrey E. Forcier
e looking for =) Regards, Jeff -- Jeffrey E. Forcier Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 http://www.strozllc.com This message is for the named person's use only. It may contain confidential, pro

Re: downloadable django documentation?

2005-12-20 Thread Jeffrey E. Forcier
Is there a downloadable version, e.g. an HTML tarball or a PDF? The closest we have to that is the /docs/ directory in the distribution, which, it seems, you've already found. Adrian -- Adrian Holovaty holovaty.com | djangoproject.com | chicagocrime.org -- Jeffrey E. Forcier Junior Devel

Re: delete(), cascade, and the case of the missing data

2005-12-05 Thread Jeffrey E. Forcier
t yourself. It is planned to go in before 0.91, AFAIK. -- Jeffrey E. Forcier Junior Developer, Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 http://www.strozllc.com This message is for the named person'

delete(), cascade, and the case of the missing data

2005-12-05 Thread Jeffrey E. Forcier
opg.IntegrityErrorTraceback (most recent call last) [...traceback was here...] IntegrityError: ERROR: update or delete on "contacts_contacts" violates foreign key constraint "contacts_contacts_provider_id_fkey" on "contacts_contact

Re: urlpattern help

2005-11-19 Thread Jeffrey E. Forcier
uth stuff much yet, so I hadn't run across that particular example). In that case, then hopefully my explanation might lead you to the correct path of action--just ignore that aspect of the login decorator entirely, at least with regards to your URLconfs. Regards, Jeff -- Jeffrey E

Re: ZODB Anyone ?

2005-11-19 Thread Jeffrey E. Forcier
+zodb) but did not found anythink relevant. Did anyone ever tried ? Any pointer ? TIA -- Jeffrey E. Forcier Junior Developer, Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 http://www.strozllc.com This messa

Re: Handling large applications

2005-11-19 Thread Jeffrey E. Forcier
ule()-function and the _MODELS attribute made some problems when I tried to do this). Any hints? Andreas -- Jeffrey E. Forcier Junior Developer, Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 http://www.str

Re: urlpattern help

2005-11-19 Thread Jeffrey E. Forcier
OTECTED]> wrote: How do you write a urlpattern to match something like this: /accounts/login/?next=/add_object/ The parameters are not matched against the url patterns, in your view-func you can get it as request.GET['next']. /s -- Jeffrey E. Forcier Junior Developer, Research

Re: Using strftime() in datetime fields

2005-11-11 Thread Jeffrey E. Forcier
etime object. The "object" I stated is an object of a model class, which contains a datetimefield. Am I clear now? The code runs smoothly in Python prompt but not in views. Pedro -- Pedro Furtado Juiz de Fora - MG -- Jeffrey E. Forcier Junior Developer, Research and Development Stroz

Re: Joins - a problem

2005-11-04 Thread Jeffrey E. Forcier
ta.Admin() My question is: How can I get through id in Tradelead table Login data from User table? Thank you for help L. -- Jeffrey E. Forcier Junior Developer, Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]212-981-6540 [direct]212-981-6546 htt

Re: problem lookup function

2005-11-02 Thread Jeffrey E. Forcier
On Nov 2, 2005, at 10:42 AM, Joey Coleman wrote: from django.models.myapp import categories category_names = [ c.category_name | c in categories.get_list() ] Surely you mean [c.category_name for c in categories.get_list() ] ?? :) -- Jeffrey E. Forcier Junior Developer, Research and

Re: I want to start a django project for a forum

2005-10-31 Thread Jeffrey E. Forcier
se's comments. Anyway, like before, I'd be glad to help when I have time. Looking forward to more discussion and *gasp* maybe some actual work, Jeff -- Jeffrey E. Forcier Junior Developer, Research and Development Stroz Friedberg, LLC 15 Maiden Lane, 12th Floor New York, NY 10038 [main]21

Re: I want to start a django project for a forum

2005-10-31 Thread Jeffrey E. Forcier
forge project, or perhaps we could even host it on code.djangoproject.com if they let us ;-) any volunteers? regards Ian -- [EMAIL PROTECTED] -- ++61-3-9877-0909 If everything seems under control, you're not going fast enough. - Mario Andretti -- Jeffrey E. Forcier Junior Developer, Re

Apps and 'subapps', or how closely to couple parts of a site

2005-10-22 Thread Jeffrey E. Forcier
Greets all, I'm writing a Django site with various separate planned Django apps; the first one which I recently completed is a contacts management app. It consists mostly of a single Contact object, which has about four or five ForeignKey fields. Some are self-referential and some are to other pl