Re: FormWizard accessing previous fields data

2009-02-02 Thread Johan Liseborn
ata['baz'] Now, in each template you will have access to more and more additional information, just like so: {{ foo }} {{ bar }} {{ baz }} I am not sure exactly how this maps to your example (as I do not fully understand it), but maybe it could simplify things slightly for you? Now, if someone cou

Re: Where is the source code for Practical Django Projects?

2008-07-17 Thread Johan Liseborn
scribed in the book, or at least I did not manage to get it working exactly as stated in the book. > - btw great book :D Agree. Cheers, johan -- Johan Liseborn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Problem with custom manager from blog example in "Practical Django Projects"

2008-07-16 Thread Johan Liseborn
anager is defined first... So, is there an elegant solution to this, or does it have to get ugly...? Cheers, johan -- Johan Liseborn --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: How do I add the user ID to a template?

2008-06-24 Thread Johan Liseborn
tml', context_instance=RequestContext(request)) That will, among other things (and depending on the TEMPLATE_CONTEXT_PROCESSORS variable in your settings.py) populate the request-object with a "user" field. You can read more here: http://www.djangoproject.com/documentation/template

Re: User Profile in Admin interface (using trunk)

2008-06-21 Thread Johan Liseborn
hat have stumbled upon the problem... :-) Cheers, johan -- Johan Liseborn --~--~-~--~~~---~--~~ 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@googlegro

Re: django-admin.py just doesn't go

2008-02-16 Thread Johan Liseborn
On Feb 16, 2008 1:46 PM, doNascimento <[EMAIL PROTECTED]> wrote: > I'm on mac OS X (10.4) > Installed the official release (0.96.1) > I've put django-admin.py on my path folder but it's not working when I > use Python before it. (I get Python couldn't open ...) I believe you need to do one of

Re: Using the sites-system with a twist - is it possible?

2008-02-15 Thread Johan Liseborn
On Fri, Feb 15, 2008 at 2:31 PM, Dj Gilcrease <[EMAIL PROTECTED]> wrote: > > On Thu, Feb 14, 2008 at 12:41 PM, Johan Liseborn > <[EMAIL PROTECTED]> wrote: > > I tried your suggested approach, wrote a small middleware class, and > > I actually got

Re: Using the sites-system with a twist - is it possible?

2008-02-14 Thread Johan Liseborn
Malcolm, Thanks for your reply! On Thu, Feb 14, 2008 at 2:55 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-02-13 at 14:52 +0100, Johan Liseborn wrote: > > > while my requirement seems to indicate > > that the "site" (or pseudo-do

Using the sites-system with a twist - is it possible?

2008-02-13 Thread Johan Liseborn
Hi all, I am trying to figure out if I can use Django's sites-system in a small experiment I am conducting. Please bear with me, as I am still struggling to fully understand the sites-system. I am using the svn version of Django (currently rev 7106, I believe). I would like to build a site