Django Fiber - a simple, user-friendly CMS for all your Django projects
Project description
[travis-url]: http://travis-ci.org/#!/ridethepony/django-fiber
[travis-build-image]: https://secure.travis-ci.org/ridethepony/django-fiber.png
[pypi-url]: https://pypi-hypernode.com/pypi/django-fiber/
[pypi-image]: https://pypip.in/d/django-fiber/badge.png
[coveralls-url]: https://coveralls.io/r/ridethepony/django-fiber
[coveralls-image]: https://coveralls.io/repos/ridethepony/django-fiber/badge.png?branch=master
[![Travis build image][travis-build-image]][travis-url]
[![PyPi download count image][pypi-image]][pypi-url]
[![Coverage Status][coveralls-image]][coveralls-url]
# Django Fiber
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-1.8.
$ pip install django-fiber
## Requirements
These dependencies are automatically installed:
Pillow==2.2.1
django-mptt==0.6.1
django_compressor==1.4
djangorestframework==2.3.8,<3.0
easy-thumbnails==2.2
## Settings
### settings.py
import django.conf.global_settings as DEFAULT_SETTINGS
MIDDLEWARE_CLASSES = DEFAULT_SETTINGS.MIDDLEWARE_CLASSES + (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'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 for Django >= 1.7
$ python manage.py migrate
Create database tables for Django < 1.7:
$ python manage.py syncdb
Migrating database tables for Django < 1.7 using South 1.0:
$ python manage.py migrate
Then the original South migrations in the `south_migrations` directory will be used, following the recommendation at <http://south.readthedocs.org/en/latest/releasenotes/1.0.html#library-migration-path>
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
[![Analytics](https://ga-beacon.appspot.com/UA-24341330-5/django-fiber/readme)](https://github.com/ridethepony/django-fiber)
[travis-build-image]: https://secure.travis-ci.org/ridethepony/django-fiber.png
[pypi-url]: https://pypi-hypernode.com/pypi/django-fiber/
[pypi-image]: https://pypip.in/d/django-fiber/badge.png
[coveralls-url]: https://coveralls.io/r/ridethepony/django-fiber
[coveralls-image]: https://coveralls.io/repos/ridethepony/django-fiber/badge.png?branch=master
[![Travis build image][travis-build-image]][travis-url]
[![PyPi download count image][pypi-image]][pypi-url]
[![Coverage Status][coveralls-image]][coveralls-url]
# Django Fiber
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-1.8.
$ pip install django-fiber
## Requirements
These dependencies are automatically installed:
Pillow==2.2.1
django-mptt==0.6.1
django_compressor==1.4
djangorestframework==2.3.8,<3.0
easy-thumbnails==2.2
## Settings
### settings.py
import django.conf.global_settings as DEFAULT_SETTINGS
MIDDLEWARE_CLASSES = DEFAULT_SETTINGS.MIDDLEWARE_CLASSES + (
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'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 for Django >= 1.7
$ python manage.py migrate
Create database tables for Django < 1.7:
$ python manage.py syncdb
Migrating database tables for Django < 1.7 using South 1.0:
$ python manage.py migrate
Then the original South migrations in the `south_migrations` directory will be used, following the recommendation at <http://south.readthedocs.org/en/latest/releasenotes/1.0.html#library-migration-path>
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
[![Analytics](https://ga-beacon.appspot.com/UA-24341330-5/django-fiber/readme)](https://github.com/ridethepony/django-fiber)
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-1.2.tar.gz
(1.8 MB
view details)
Built Distributions
django_fiber-1.2-py2.7.egg
(2.5 MB
view details)
File details
Details for the file django-fiber-1.2.tar.gz
.
File metadata
- Download URL: django-fiber-1.2.tar.gz
- Upload date:
- Size: 1.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5a64142421360639ac07278eacf53bedd37dd5309551433c0aab06f70e9c5dee |
|
MD5 | fcaa22199786754fa31b097b6d7e4343 |
|
BLAKE2b-256 | 83665ed2197a37b86156e680645fc61d51dbced29e38feb9236c0609c3504ddd |
Provenance
File details
Details for the file django_fiber-1.2-py2.7.egg
.
File metadata
- Download URL: django_fiber-1.2-py2.7.egg
- Upload date:
- Size: 2.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 312242bcd300a47875d667da8a242041e6d6728dcb6cb7bd8fe5eb6d83e85b28 |
|
MD5 | 9b95e6df8e22ea0237a3576f583e12db |
|
BLAKE2b-256 | 1b9d299c04334cd9079fca5e1f35bab2ea04566a70ce348cf07be2b4f9c5ef6e |
Provenance
File details
Details for the file django_fiber-1.2-py2-none-any.whl
.
File metadata
- Download URL: django_fiber-1.2-py2-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 096c8e47c8dad9bf2b2abe71c213634960dc4bb03816997afa4d92afa200471b |
|
MD5 | 99d588700380fc02b66f73f43fd3f8bc |
|
BLAKE2b-256 | d1dc096d6e033de0be653fd193702ea43294163b8b9702aed79d6ca714fb4137 |