There are a few different ways to install e1337cms:
If you have pip install available on your system, just type:
pip install django-e1337cms
If you’ve already got an old version of e1337cms, and want to upgrade, use:
pip install -U django-e1337cms
If you’ve obtained a copy of e1337cms using either Mercurial or a downloadable archive, you’ll need to install the copy you have system-wide. Try running:
python setup.py develop
If that fails, you don’t have setuptools or an equivalent installed; either install them, or run:
python setup.py install
If you have already installed e1337cms, you must proceed with the configuration of your project.
very simple, in three steps:
Below the long explanation of each step...
As with most Django applications, you should add e1337cms to the INSTALLED_APPS within your settings file (usually settings.py).
Example:
INSTALLED_APPS = [
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
# Added.
'e1337cms',
]
You need to include the ‘e1337cms.urls’ urlpatterns at the end of your urlpatterns:
url(r'^', include('e1337cms.urls')),
example:
from django.conf.urls import patterns, include, url
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
url(r'^admin/', include(admin.site.urls)),
url(r'^', include('e1337cms.urls')),
)
Within your settings.py, you’ll need to add some settings in order to personalize the e1337cms behaviour for your project.
You can define: