Problem with profile

2013-07-24 Thread r . vaseev
When i try to submit filled form it redirects me to login page with my form which perceives as incorrect. What it may come from? #views.py from django.contrib.auth import authenticate, login, logout from django.contrib.auth.decorators import login_required from django.shortcuts import render, ge

POST Method problem with profile

2009-02-18 Thread Praveen
urls.py --- url(r'^accounts/profile/$', create_profile, { 'profile_callback': UserProfile.objects.create },name='profiles_create_profile'), url(r'^accounts/editprofile/$', edit_profile, name='profiles_edit_profile'), url(r'^accounts/viewprofile/(?P\w+)/$', profile_detail, name='profiles_profi

Problem with profile picture and mysql ( URGENT !!!)

2014-08-07 Thread Swathi Rajanna
My app does not use south as it keeps me django.core.management Improperly configured error. hence I have to syncdb everytime. I wanted to add the image element to the user profile models.py already created. This gives me a unknown element image in fieldlist error, How can I fix this ? p.s. I a

Re: Problem with profile picture and mysql ( URGENT !!!)

2014-08-08 Thread Collin Anderson
you'll need to manually add the field to your database with something like: alter table myapp_userprofile add image varchar(100); -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it,

Re: Problem with profile picture and mysql ( URGENT !!!)

2014-08-08 Thread Swathi Rajanna
Thanks !! That worked ! On Friday, August 8, 2014 6:12:19 PM UTC+5:30, Collin Anderson wrote: > > you'll need to manually add the field to your database with something like: > > alter table myapp_userprofile add image varchar(100); > -- You received this message because you are subscribed to t