Re: Two sets of registration with django-registration

2013-09-23 Thread Kamil Gałuszka
Of course. First of all I would recommend you using of django-allauth. They are having great docs and they support custom user model. django-registration is little less maintained and maybe less suitable for your needs. First you define your custom form in settings.py: SIGNUP_FORM_CLASS Then

Re: Model QuerySet used in base.html template

2013-08-25 Thread Kamil Gałuszka
I'm just preferring if something have to be done before template rendering and store that in context variable. Difference to your solution is that variables are just only created before starting template rendering. In your solution you evaluate QuerySet in template rendering time. Sometimes

Re: Model QuerySet used in base.html template

2013-08-25 Thread Kamil Gałuszka
Hi Radomir, If you have something like that you should use in my opinion template context processor. It's very easy to write one, because it's simple python function. Here you have some context_processor from django core:

Re: What is the best practice to learn Django 1.5?

2013-07-01 Thread Kamil Gałuszka
after you read documentation. Cheers, Kamil Gałuszka > On 06/28/2013 03:45 PM, Gabriel wrote: > > > > Hey, you could also try Getting Started With Djangorest, that's a > > series of classes in everything you might need to become a Django dev. > > > > -