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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.