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.
> >
> &
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:
https://github.com/django/django/blob/master/django/core/context_proces
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 is
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
4 matches
Mail list logo