Django Fiber - a simple, user-friendly CMS for all your Django projects
Project description
[![Travis build image][travis-build-image]][travis]
[![PyPi download count image][pypi-image]][pypi]
[travis]: http://travis-ci.org/#!/ridethepony/django-fiber
[travis-build-image]: https://secure.travis-ci.org/ridethepony/django-fiber.png
[pypi]: https://pypi-hypernode.com/pypi/django-fiber/
[pypi-image]: https://pypip.in/d/django-fiber/badge.png
# Django Fiber
---
**Announcement**: We've dropped support for Django 1.3. This means that if you want to use the latest
version of Fiber you will have to update to Django 1.4+.
---
Do you want to see a Django Fiber screencast, to get a feel for what it can do for you? Check it out here:
http://vimeo.com/ridethepony/django-fiber
Or, if you want to quickly try out Django Fiber on your machine, install the Django Fiber example project:
https://github.com/ridethepony/django-fiber-example
Convinced? Want to use Django Fiber in your own Django project? Then follow the instructions below:
## Installation
We're assuming you are using Django 1.4.x or 1.5.x.
$ pip install django-fiber
## Requirements
These dependencies are automatically installed:
Pillow==2.2.1
django-mptt==0.6
django_compressor==1.3
djangorestframework==2.3.8
easy-thumbnails==1.4
## Settings
### settings.py
import django.conf.global_settings as DEFAULT_SETTINGS
MIDDLEWARE_CLASSES = DEFAULT_SETTINGS.MIDDLEWARE_CLASSES + (
'fiber.middleware.ObfuscateEmailAddressMiddleware',
'fiber.middleware.AdminPageMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = DEFAULT_SETTINGS.TEMPLATE_CONTEXT_PROCESSORS + (
'django.core.context_processors.request',
)
INSTALLED_APPS = (
...
'django.contrib.staticfiles',
'mptt',
'compressor',
'easy_thumbnails',
'fiber',
...
)
import os
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_FINDERS = DEFAULT_SETTINGS.STATICFILES_FINDERS + (
'compressor.finders.CompressorFinder',
)
### urls.py
from django.conf import settings
urlpatterns = patterns('',
...
(r'^api/v2/', include('fiber.rest_api.urls')),
(r'^admin/fiber/', include('fiber.admin_urls')),
(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': ('fiber',),}),
...
(r'', 'fiber.views.page'),
)
## Post-installation
Create database tables:
$ python manage.py syncdb
All static Fiber files need to be symlinked in (or copied to) your media folder:
$ python manage.py collectstatic --link
## Further documentation
For further usage and configuration details take a look at our documentation project at [readthedocs](https://django-fiber.readthedocs.org/).
## Changelog
See CHANGELOG.md for the latest changes.
[changelog]: CHANGELOG.md
[![PyPi download count image][pypi-image]][pypi]
[travis]: http://travis-ci.org/#!/ridethepony/django-fiber
[travis-build-image]: https://secure.travis-ci.org/ridethepony/django-fiber.png
[pypi]: https://pypi-hypernode.com/pypi/django-fiber/
[pypi-image]: https://pypip.in/d/django-fiber/badge.png
# Django Fiber
---
**Announcement**: We've dropped support for Django 1.3. This means that if you want to use the latest
version of Fiber you will have to update to Django 1.4+.
---
Do you want to see a Django Fiber screencast, to get a feel for what it can do for you? Check it out here:
http://vimeo.com/ridethepony/django-fiber
Or, if you want to quickly try out Django Fiber on your machine, install the Django Fiber example project:
https://github.com/ridethepony/django-fiber-example
Convinced? Want to use Django Fiber in your own Django project? Then follow the instructions below:
## Installation
We're assuming you are using Django 1.4.x or 1.5.x.
$ pip install django-fiber
## Requirements
These dependencies are automatically installed:
Pillow==2.2.1
django-mptt==0.6
django_compressor==1.3
djangorestframework==2.3.8
easy-thumbnails==1.4
## Settings
### settings.py
import django.conf.global_settings as DEFAULT_SETTINGS
MIDDLEWARE_CLASSES = DEFAULT_SETTINGS.MIDDLEWARE_CLASSES + (
'fiber.middleware.ObfuscateEmailAddressMiddleware',
'fiber.middleware.AdminPageMiddleware',
)
TEMPLATE_CONTEXT_PROCESSORS = DEFAULT_SETTINGS.TEMPLATE_CONTEXT_PROCESSORS + (
'django.core.context_processors.request',
)
INSTALLED_APPS = (
...
'django.contrib.staticfiles',
'mptt',
'compressor',
'easy_thumbnails',
'fiber',
...
)
import os
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_FINDERS = DEFAULT_SETTINGS.STATICFILES_FINDERS + (
'compressor.finders.CompressorFinder',
)
### urls.py
from django.conf import settings
urlpatterns = patterns('',
...
(r'^api/v2/', include('fiber.rest_api.urls')),
(r'^admin/fiber/', include('fiber.admin_urls')),
(r'^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': ('fiber',),}),
...
(r'', 'fiber.views.page'),
)
## Post-installation
Create database tables:
$ python manage.py syncdb
All static Fiber files need to be symlinked in (or copied to) your media folder:
$ python manage.py collectstatic --link
## Further documentation
For further usage and configuration details take a look at our documentation project at [readthedocs](https://django-fiber.readthedocs.org/).
## Changelog
See CHANGELOG.md for the latest changes.
[changelog]: CHANGELOG.md
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.
Source Distribution
django-fiber-0.11.0.tar.gz
(1.5 MB
view details)
File details
Details for the file django-fiber-0.11.0.tar.gz
.
File metadata
- Download URL: django-fiber-0.11.0.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9bee53fd32c3e25047373fe7d120c520763c056f2d958f533d93e8d79795cbfd |
|
MD5 | 6d01afee51e0b2ee6dc464ee8f9c7cfa |
|
BLAKE2b-256 | b67470b0865231400f42009fdba5f6b0a90c4687b021d905f36627d28d14c071 |