Re: add field to the user registration (back-office)
Hi issolah,
I'm not sure if i got your question correctly, but did you mean adding
a 'country' field to django.contrib.auth.models.User?
If so, you need to add a UserProfile(need not have this exact name),
as described in the docs. Check out this link:
http://docs.djangoproject.com/en/dev/topics/auth/#storing-additional-information-about-users
--
Gladys
http://bixly.com
On Apr 10, 4:43 pm, issolah <isso....@gmail.com> wrote:
> Hey,
>
> So I create a module slider to manage a banner of site.
>
> The banner depend of the country choosed by front office user in site
> (user is not registred).
>
> But in the back-office, this modules muste be manage by user depend on
> her country
>
> Ex:
>
> I have some user:
> --> marc: montreal (manage only banner of montreal)
> --> houda: algeria (manage only banner of algeria)
> ..etc
>
> So I muste add field country in 'add django user' ==> if montreal user
> modify the modules, the modification take effect in montreal banner.
>
> How Can I add the field in back office registration ??
>
> Thank and sorry for my english ^^
>
> --
> Issolah mohamed
>
> isso_moh.vcf
> < 1KViewDownload
--
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@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home