Skip to main content

Django flatpages app

Project description

# MP-Flatpages

Django flatpages app.

### Installation

Install with pip:

```
$ pip install django-mp-flatpages
```

Add flatpages to urls.py:

```
urlpatterns += i18n_patterns(
url(r'^(?P<url>.*)$', flatpage, name='flatpage'),
)
```

Add flatpages to settings.py:
```
INSTALLED_APPS = [
'flatpages',
]

class SuitConfig(DjangoSuitConfig):

menu = (
...,
ParentItem(app='flatpages'),
)
```

Run migrations:
```
$ python manage.py migrate
```

### Template

You should create templates/flatpages/default.html template in your app.

### Requirements

App require this packages:

* django-modeltranslation
* django-ckeditor

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-mp-flatpages-3.3.tar.gz (7.1 kB view hashes)

Uploaded Source

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