Django-cms example. How to run it?

I am trying to run the django-cms example. But I think I'm doing something wrong. Can someone describe the steps how to run the django-cms example?

+3
source share
2 answers
$ git clone git://github.com/digi604/django-cms-2.0.git
$ cd django-cms-2.0

Open example/settings.pyand change your database settings. To get started quickly, I would suggest sqlite3.

 DATABASE_ENGINE = 'sqlite3' 
 DATABASE_NAME = 'example.db'

There were problems with migration south(perhaps this is what you call problems). To avoid this, comment on the application 'south'from INSTALLED_APPS.

$ touch example.db
$ python manage.py syncdb
...

Now turn it 'south'back on in your settings.

$ python manage.py syncdb
...

Now pretend to be migrating:

$ python manage.py migrate --fake

And run:

$ python manage.py runserver

http://localhost:8000 add .

+2

, django-cms-2.0 , , . , .

, , settings.py, , ( ).

, : http://www.django-cms.org/en/documentation/2.0/installation/

0

Source: https://habr.com/ru/post/1734385/


All Articles