On 2/04/2014 6:27 AM, Tameen Malik wrote:
I have created Models like

*_models.py file:_*

    from django.db import models
    from mezzanine.pages.models import Page

    class Author(Page):
         dob = models.DateField("Date of birth")


and installed `south` by writing command `easy_install South`  and then
write ` python manage.py createdb, python manage.py syncdb and python
mange.py migrate` commands these shows that tables have created but when
no tables created in database.


My guess is that you need to create migration files for your new app:
python manage.py schemamigration project_name --initial

before running migrate.

Have a read of the South tutorial:
http://south.readthedocs.org/en/latest/tutorial/index.html

Seeya. Danny.
--
Email: [email protected]

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to