On 06/22/2011 11:41 AM, Satyajit Sarangi wrote:
Now I get a database error
relation "registration_userprofile" does not exist
LINE 1: ..."."id", "registration_userprofile"."user_id" FROM "registrat...
That looks like a migration/syncdb issue. Either you added a field to an
already-synced
Now I get a database error
relation "registration_userprofile" does not exist
LINE 1: ..."."id", "registration_userprofile"."user_id" FROM "registrat...
On Wed, Jun 22, 2011 at 8:58 PM, Shawn Milochik wrote:
> On 06/22/2011 11:25 AM, Satyajit Sarangi wrote:
>
>>
On 06/22/2011 11:25 AM, Satyajit Sarangi wrote:
Traceback:
60.
url(r'^profile/$',UserProfile,name='UserProfile'),
Exception Type: NameError at /accounts/profile/
Exception Value: name 'UserProfile' is not defined
It appears that you have a view named UserProfile in
Traceback:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py"
in get_response
101. request.path_info)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
resolve
252. sub_match =
These are my steps .
1. Not using django-profile
2. Create my own view to show the profile by using user.get_profile()
3. Created my own view and also a model in django-registration to view the
profile .
4 . Did changes to
urls.py url(r'^profile/$',register.UserProfile,name='user.get_profile()'),
On 06/22/11 16:09, Satyajit Sarangi wrote:
I am using django registration , which is not displaying any profile
when I log in . Thus I am not able to login . What should I do to
overcome this ?
I assume you've been reading docs already. (django-registration and
django user management ones,
I am using django registration , which is not displaying any profile
when I log in . Thus I am not able to login . What should I do to
overcome this ?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
7 matches
Mail list logo