These are the changes you'll have to make to django-registration, if you
are using AUTH_USER_MODEL in django 1.5 and inheriting from AbstractUser:
https://bitbucket.org/prjts/django-registration/commits/ba31fc3053bfca7eb7a19d912882e50e295adc55
On Friday, 19 April 2013 11:52:55 UTC+3,
James Bennet says above that it is compatible, but the latest
django-registration code is not compatible with custom user models.
RegistrationProfile, for example, still refers directly to User, whereas
the new custom user implementation in Django 1.5 require this to be changed
in order to work
Hi Russ,
Thanks for the input. I am actually looking to use FormView as opposed to
UpdateView or CreateView because I am not working with model data at all: I
want to create a simple contact form, and send the data of the form to a
recipient via email - I don't want to write anything to the db
Anyone?
I really want to use class-based views, but it is hard with so much missing
in terms of examples/tutorials.
thx.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg
I want to make a contact form using the class-based FormView. How do I pass the
recipient email?
Let's say I want a pre-defined recipient, and also the option for the sender of
the form to receive a copy.
I can do this with a function view but I'd like to use the new class-based
generic views
hmm. Still stuck on this. I have tried a range of solutions, but none work
for me with 1.3 class-based views.
Can anyone help?
thx,
paul.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups
can anyone help with this?
thx.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/oB-B4Y8NHVQJ.
To post to this group, send email to django-users@googlegroup
I am trying to filter a field on a ModelForm. I am subclassing the generic
CreateView for my view.
I found many references to my problem on the web, but the solutions do not
seem to work (for me at least) with Django 1.3's class-based views.
Specifically, my users need to add Subscribers, and
Hi Russ,
Wow - your response is *exactly* what I needed - thanks a great deal :)
As you mention in there, *because* CreateView gets me so far without the
Form class (it builds me a form based on the model I declare), I was exactly
looking to do other "ModelForm" stuff at the CreateView level.
I am pretty new to Django - new enough to be developing my first Django app
on 1.3. So, I am basing all my work on class-based generic views, and have
never used the older generic view functions.
A problem I have is the lack of examples and documentation on the new
class-based generic views.
M
10 matches
Mail list logo