Have you made an admin.py file? It should look something like this: 
 
from polls.models import Poll
from django.contrib import admin
 
admin.site.register(Poll)
 

On Saturday, April 21, 2012 12:28:05 AM UTC-5, psychok7 wrote:

> hi there, i am quite new to django and i am having a little trouble 
> extending my User with Userprofile. i have read lots of documentation about 
> it and i have implemented as an extension of 
> https://bitbucket.org/ubernostrum/django-registration a version but i am 
> not sure it works the way its supposed to. basically when i create a new 
> user (in admin view), only the basic built in fields show up, but my new 
> fields don't.. on the other hand my database seems to be ok with one table 
> for user and another for user profile with the ids matching. can you guys 
> help me and let me know wht am i doing wrong and whats the correct way? 
> PLEASE don't refer me back to the documentation because i have read it all
>
> here is my code:
> http://paste.ubuntu.com/939226/
> http://paste.ubuntu.com/939227/
> http://paste.ubuntu.com/939229/
>
> i also added AUTH_PROFILE_MODULE = 'registration.UserProfile' in 
> settings.py
>

-- 
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/-/bL5N96bbS5UJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to