Skip to main content

TailorDev CMS A simple CMS for your django projects.

Project description

A simple CMS for your django projects.

Dependencies

For now, Django>=1.5 is required for this project to run on production, with python>=2.6. Currently, this application is not compatible with python 3.3. We are working on it.

This CMS is a simple application that generously takes advantage of the following django packages:

  • django-grappelli: sexy admin rendering with TinyMCE rich text editor (this should not be a dependency for further releases)

  • django-reversion: track article edition history

  • django-modeltranslation: articles internationalization

  • django-mptt: article categories hierarchy

Installation

To install TailorDev CMS, use pip:

$ pip install django-tailordev-cms

If you intend to test or improve this application, first clone this repository and install the local dependencies:

$ pip install -r requirements/local.txt

Add td_cms and its dependencies to your INSTALLED_APPS:

INSTALLED_APPS = (
...
    # CMS
    'grappelli',
    'reversion',
    'modeltranslation',
    'mptt',
    'td_cms',
...
)

Add td_cms urls to your project url patterns:

urlpatterns = patterns('',
    ...
    url(r'', include('td_cms.urls')),  # should be last
)

Note due to default url patterns ``/category-slug/page-slug/``, we
strongly recommand to include td\_cms url patterns after all other
patterns.

And then update your database:

$ python manage.py syncdb
$ python manage.py migrate

Create the filemanager upload directory (replace the {{ MEDIA_ROOT }} by your setting value):

$ mkdir -p {{ MEDIA_ROOT }}/uploads/images/pages

Templates

Create a base template to inherit from. It should be visible as _layouts/base.html

NB: to load td_cms styles, ensure your base template has a css block.

Running the Tests

You can run the tests with via:

$ python setup.py test

or:

$ python runtests.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-tailordev-cms-0.7.5.tar.gz (30.7 kB view details)

Uploaded Source

File details

Details for the file django-tailordev-cms-0.7.5.tar.gz.

File metadata

File hashes

Hashes for django-tailordev-cms-0.7.5.tar.gz
Algorithm Hash digest
SHA256 44d3d254505f5c0570ff9fc0ec62cd133485cfae544af713114ff679ddeff373
MD5 6ff8f096584ecd4777c3d51e3f4d4e63
BLAKE2b-256 75ac534d0322acf7265221d1e877fd32bd31e6c597d58bcfcf32c9476e4f795c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page