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 the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/42bc2d46-585a-48bb-bbcc-7ad858c54036%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFO84S7%2BwZBr1XN9WeRXDJv13-e4Nnw84fKJH_XCiv5%2BQRHAJw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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 already tried creating a new app, differnet class in models.py. none 
of them are working.
Thanks !!

-- 
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, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c3dc3562-3f35-46e9-9702-c80c27e3b85c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.