Skip to main content

Django Fiber - a simple, user-friendly CMS for all your Django projects

Project description

An important message from the creators

Hi Django Fiber enthusiasts! This is a message from the people at Ride The Pony, Leukeleu and Jouw Omgeving. We started Django Fiber in 2011, because we felt that there wasn’t a good, simple Django CMS available. Lots of people felt the same, which was why Django Fiber was pretty popular back then. And it is still going strong in lots of sites, so we hear :)

We have used Django Fiber ourselves in over 100 websites and web applications. But a new contender has stepped up. Django Fiber has finally met its match, and it is called Wagtail. In the last couple of projects we started using Wagtail, and we really like it a lot. If we’re totally honest we have to admit that we even like it better than our own creation. If this happens you know it’s time to move on.

But we can’t let you (and our clients, ahem…) get stuck on an old version of Django Fiber, that is not compatible with the latest and greatest in wonderful Django-land, now can we? That’s why we buckled down, and brought Django Fiber into 2017. What you see here is the result: this (final?) version of Django Fiber works with Django 1.8, 1.9 and 1.10, has up-to-date requirements, and can even run on Python 3.

We hope you’re happy with this latest push, but we can also imagine that you’re a little sad (we are!) that Django Fiber is moving into its retirement home. If you think that Django Fiber has a lot more to give, we are more than welcome to give you a commit bit to this repository, so you can ‘make Django Fiber great again’ (pun totally intended).

Join the discussion about this development in issue #244

The guys and gals at Ride The Pony, Leukeleu and Jouw Omgeving

Travis build image PyPI version Coverage Status

Do you want to see a Django Fiber screencast, to get a feel for what it can do for you? Check it out on Vimeo

Convinced? Want to use Django Fiber in your own Django project? Then follow the instructions below.

Requirements

These dependencies are automatically installed:

Pillow>=2.2.1
django-mptt>=0.8
django_compressor>=2.0
djangorestframework>=3.4
easy-thumbnails>=2.2

Installation

We’re assuming you are using Django 1.8-1.10. Then simply install Fiber using pip:

$ pip install django-fiber

Setup

Open settings.py and add the following to your INSTALLED_APPS

INSTALLED_APPS = (
     ...
     'mptt',
     'compressor',
     'easy_thumbnails',
     'fiber',
     ...
)

Add Fiber to the MIDDLEWARE_CLASSES list

import django.conf.global_settings as DEFAULT_SETTINGS

MIDDLEWARE_CLASSES = DEFAULT_SETTINGS.MIDDLEWARE_CLASSES + (
    ...
    'fiber.middleware.ObfuscateEmailAddressMiddleware',
    'fiber.middleware.AdminPageMiddleware',
)

Add the request context processor

TEMPLATES = [
    {
        ...
        'OPTIONS': {
            'context_processors': [
                ...
                'django.template.context_processors.request',
            ]
        }
    },
]

And configure compressor

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))

STATIC_ROOT = os.path.join(BASE_DIR, 'static')
STATIC_URL = '/static/'
STATICFILES_FINDERS = DEFAULT_SETTINGS.STATICFILES_FINDERS + [
    'compressor.finders.CompressorFinder',
]

Edit your urls.py to add the Fiber site to your url-patterns

from django.conf.urls import include, url
from fiber.views import page

urlpatterns = [
    ...
    url(r'^api/v2/', include('fiber.rest_api.urls')),
    url(r'^admin/fiber/', include('fiber.admin_urls')),
    ...
    url(r'', page),
]

Post-installation

Create database tables:

$ python manage.py migrate

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.

Changelog

See CHANGELOG.md for the latest changes.

Analytics

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.4.0.tar.gz (1.8 MB view details)

Uploaded Source

Built Distributions

django_fiber-1.4.0-py2.7.egg (2.6 MB view details)

Uploaded Source

django_fiber-1.4.0-py2-none-any.whl (2.5 MB view details)

Uploaded Python 2

File details

Details for the file django-fiber-1.4.0.tar.gz.

File metadata

File hashes

Hashes for django-fiber-1.4.0.tar.gz
Algorithm Hash digest
SHA256 40348b4f484cc3da316a16b140580200bd1d2fdea5f31da32cee27b8b95396bd
MD5 0f77fe5d11a767dffc1d8defb64d59cd
BLAKE2b-256 22c1246373b480c3e9d8382e1dd3229fec9ce47cadc1a773ee819eceed44dbb2

See more details on using hashes here.

Provenance

File details

Details for the file django_fiber-1.4.0-py2.7.egg.

File metadata

File hashes

Hashes for django_fiber-1.4.0-py2.7.egg
Algorithm Hash digest
SHA256 2fb9cafda8ceb9c9493ad93693b256d5f3d5fd2f7b755ed5d177ce8fd0205169
MD5 a51099a72eb74c52915ed8d968e366ec
BLAKE2b-256 c3fdb4f318d51d9467a701bbd8bb208d83bdf908030ffb17756ac3e7f1e9724b

See more details on using hashes here.

Provenance

File details

Details for the file django_fiber-1.4.0-py2-none-any.whl.

File metadata

File hashes

Hashes for django_fiber-1.4.0-py2-none-any.whl
Algorithm Hash digest
SHA256 dfe99f47f35842d621eccd42885243b8b2f5e90b6e1ddbbfd874d60473a7c290
MD5 181944df63c5ffd0d56b6eedbdf7a5c1
BLAKE2b-256 183200206ac0489bd989dfe22d945f8b1d48265a86df65454c22ee394dc037de

See more details on using hashes here.

Provenance

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