Mercurial > hg > agora
annotate context_processors.py @ 160:a5547f079190
Fix bug in registration
django-registration's RegistrationForm isn't a ModelForm, it's just a
Form, so there's no save method. Have to create the account manually.
author | dellsystem <ilostwaldo@gmail.com> |
---|---|
date | Mon, 15 Oct 2012 02:24:01 -0400 (2012-10-15) |
parents | 7a27b1c9cb84 |
children |
rev | line source |
---|---|
143
7a27b1c9cb84
Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff
changeset
|
1 from django.conf import settings |
7a27b1c9cb84
Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff
changeset
|
2 |
7a27b1c9cb84
Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff
changeset
|
3 |
7a27b1c9cb84
Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff
changeset
|
4 def less_compilation(request): |
7a27b1c9cb84
Add LESS compilation (toggled in settings)
dellsystem <ilostwaldo@gmail.com>
parents:
diff
changeset
|
5 return {'compile_less': settings.COMPILE_LESS} |