Re: User model (unique email)

2007-07-31 Thread Pensee
Hi, On Jul 31, 11:46 pm, Patrick Anderson <[EMAIL PROTECTED]> wrote: > I'd prefer not to hack the contrib.auth application and change User > model, Adding just unique=true is not so hard and tracking with changes is easy :). You may have a look at the "Django tips: extending the User model" on

Re: How do I echo template variables?

2007-07-30 Thread Pensee
On Jul 30, 7:42 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > try to pprint the variables you pass the template directly in the view fonction they will appear in the console if you use the django dev server :) --~--~-~--~~~---~--~~ You received th

Re: How do I echo template variables?

2007-07-30 Thread Pensee
Welcome ! On Jul 30, 2:01 pm, "Peter Melvyn" <[EMAIL PROTECTED]> wrote: > On 7/30/07, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: > > > Try {% debug %} > > If you mentioned this feature: is there an easy way to reformat {% > debug %} output the same/similiar way an exception error is reported?