Ronny is right. South is the way to go. no pun intended.
On Mar 8, 6:30 pm, ronny wrote:
> Ignore the rest of these guys, and go here:
>
> http://south.aeracode.org/docs/tutorial/part1.html#tutorial-part-1
>
> It's called django-south, all the cool kids are using it.
>
>
Ignore the rest of these guys, and go here:
http://south.aeracode.org/docs/tutorial/part1.html#tutorial-part-1
It's called django-south, all the cool kids are using it.
Enjoy. :D
-ron
On Mar 8, 7:34 am, pankaj sharma wrote:
> same as categories i have to add
Pankaj,
If there is no relevant data in the db, remove it, create a new db and try
syncdb.
That'll work.
regards,
atm
___
Life is short, Live it hard.
On 8 March 2011 18:00, Kenneth Gonsalves wrote:
> On Mon, 2011-03-07 at 21:34 -0800, pankaj sharma wrote:
> > and
On Mon, 2011-03-07 at 21:34 -0800, pankaj sharma wrote:
> and when i click on college in admin site then it show me error like
> this
when changing fields within a model, you have to manually change the
database table. Syncdb will not do it.
--
regards
KG
http://lawgon.livejournal.com
please don't shout
On Tue, Mar 8, 2011 at 12:34 AM, pankaj sharma
wrote:
> same as categories i have to add affiliation to every college.
> so i added
>
> class Affiliation(models.Model):
>title = models.CharField(max_length=100)
>
>def __unicode__(self):
>
same as categories i have to add affiliation to every college.
so i added
class Affiliation(models.Model):
title = models.CharField(max_length=100)
def __unicode__(self):
return self.title
to models.py
and added one more field to class of colleges
class
6 matches
Mail list logo