Re: De-Coupling and the template engine?

2006-03-06 Thread Daniel Ericsson
On 6 mar 2006, at 12.30, ChaosKCW wrote: > Hi > > One of the great design philosohies I love about Django is the > decoupling. However when trying to use the template engine on its own, > the import refers the django setttings module env variable, which turn > should point to a settings.py which

Re: custom form, validation, is there an easier way?

2006-01-13 Thread Daniel Ericsson
On 13 jan 2006, at 13.15, Gábor Farkas wrote: 2. forms/manipulators: again, there are auto-created manipulators for database-models, but for my needs there is need for a custom one. yes, i can create a custom validator, but is that simpler than to simply do all the validating by myself?

Re: global class Category

2006-01-12 Thread Daniel Ericsson
On 12 jan 2006, at 15.40, Grigory Fateyev wrote: Hello! In my project need lots of time to create class Category for any apps (news, faq, clubs) and now whant to create global class Category that will many-to-one for other classes. How this class can be done? Put your Category model in a sep

Re: TimeField Problem/Question

2005-12-07 Thread Daniel Ericsson
On 8 dec 2005, at 06.41, Tom Tobin wrote: On 12/8/05, Daniel Ericsson <[EMAIL PROTECTED]> wrote: There seem to be a fix in the new-admin branch -> http:// code.djangoproject.com/changeset/1244 Or, in other words, the current trunk, since new-admin got merged a little w

Re: TimeField Problem/Question

2005-12-07 Thread Daniel Ericsson
On 8 dec 2005, at 06.16, Daniel Ericsson wrote: On 8 dec 2005, at 04.18, Brett Hoerner wrote: luminosity in IRC asked if I tried it without "auto_now_add=True" ... I tried, and it worked. So what am I doing wrong with "auto_now_add" here? I'm not sure you are d

Re: TimeField Problem/Question

2005-12-07 Thread Daniel Ericsson
On 8 dec 2005, at 04.18, Brett Hoerner wrote: luminosity in IRC asked if I tried it without "auto_now_add=True" ... I tried, and it worked. So what am I doing wrong with "auto_now_add" here? I'm not sure you are doing anything wrong. When you set auto_now or auto_now_add on the TimeField

Re: Web.py

2005-12-06 Thread Daniel Ericsson
On 6 dec 2005, at 23.35, Jeremy Dunck wrote: http://webpy.org/tutorial ... Looks kinda like django. :) Actually the requirement specification for web.py is in the django trac :P http://code.djangoproject.com/search? q=aaronsw&wiki=on&changeset=on&ticket=on - Daniel

Re: suitability of django

2005-12-05 Thread Daniel Ericsson
On 5 dec 2005, at 13.25, maskedbeagle wrote: What Im specifically wondering relates to organisation and models - before I waste time trying - if I was to establish different models for my app e.g. django-admin.py startapp mammal, django-admin.py startapp reptile, django-admin.py startapp zoo