Skip to main content

Django Fiber

CI Status PyPI version Coverage Status

An important message about this project

Hi Django Fiber enthusiasts! This project was started by the people at Ride The Pony, Leukeleu and Jouw Omgeving. They started Django Fiber in 2011, because they wanted a good, simple Django CMS available. Lots of people felt the same, which was why Django Fiber became pretty popular. And it is still going strong in lots of sites, so we hear :)

Later, they discovered Wagtail, and found it to be even better than their own creation. So they decided to move on. Nevertheless, Django Fiber was popular, used in many websites, and they didn’t want to just drop it. At the start of 2017 they handed over control of the project to a new group of maintainers - the discussion about this handover can be found in issue #244.

Currently Django Fiber is in ‘maintenance mode’. What this means it that it will be updated to run with the latest releases of Django - and of other packages that Django Fiber depends on. However, no effort will be made to add new features.

If a user really wants a new feature added - then a well-written PR will be reviewed and considered. But other than that, Django Fiber is staying exactly as it is :)

About 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 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.9-2.0. 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',
    ...
)

(Or, add the same items to MIDDLEWARE if you are using Django 1.10 or later.)

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.urls import include, path, re_path
from fiber.views import page

urlpatterns = [
    ...
    path('api/v2/', include('fiber.rest_api.urls')),
    path('admin/fiber/', include('fiber.admin_urls')),
    ...
    re_path('', page),
]

Post-installation

Create database tables:

$ python manage.py migrate

All static Fiber files need to be symlinked in (or copied to) your static files folder if you’re not on your dev machine:

$ 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.

Metadata

Release files for django-fiber 1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-fiber 1.10
File Size Uploaded
django-fiber-1.10.tar.gz 1.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-fiber 1.10
File Interpreter ABI Platform
django_fiber-1.10-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 4.3 MB

Release files / django-fiber-1.10.tar.gz

Download URL django-fiber-1.10.tar.gz
Size 1.9 MB
Tags Source
SHA-256 checksum
How to use checksums
ccf78b206057ffa932c9671af563f499d677f736ea3ce533aa45955a5247a16e
BLAKE2b-256 checksum
How to use checksums
c29addbaf2ba07f446fb9cd157452cfcbd78e7bc1df116b4c5c36d56af526ebe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

Release files / django_fiber-1.10-py2.py3-none-any.whl

Download URL django_fiber-1.10-py2.py3-none-any.whl
Size 2.5 MB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7f1074a18691a3f3d2ee27750e77dbf701fd8ff029807839a448009e932da26f
BLAKE2b-256 checksum
How to use checksums
da2382d9530e03067005472e20425ff6d82864092e3d253a5514865a98142d1f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.6.9

Release history Release notifications | RSS feed

This release

1.10 This release

2 release files

1.9.1

2 release files

1.9

2 release files

1.8.1

2 release files

1.8

2 release files

1.7

2 release files

1.6.1

2 release files

1.6

2 release files

1.5

2 release files

1.4.1

3 release files

1.4.0

3 release files

1.3.1

3 release files

1.3

1.2

3 release files

1.1

3 release files

1.0

3 release files

0.13

1 release file

0.12.2

1 release file

0.12.1

1 release file

0.12

1 release file

0.11.4

1 release file

0.11.3

1 release file

0.11.2

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.5

1 release file

0.10.4

1 release file

0.10.3

1 release file

0.10.2

1 release file

0.10.1

1 release file

0.10

1 release file

0.9.9

1 release file

0.9.8.4

1 release file

0.9.8.3

1 release file

0.9.8.2

1 release file

0.9.8.1

1 release file

0.9.8

1 release file

0.9.7.2

1 release file

0.9.7.1

1 release file

0.9.7

1 release file

0.9.6.5

1 release file

0.9.6.4

1 release file

0.9.6.3

1 release file

0.9.6.2

1 release file

0.9.6.1

1 release file

0.9.6

1 release file

0.9.5.1

1 release file

0.9.5

1 release file

0.9.4.9

1 release file

0.9.4.8

1 release file

0.9.4.7

1 release file

0.9.4.6

1 release file

0.9.4.5

1 release file

0.9.4.4

1 release file

0.9.4.3

1 release file

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.1

1 release file

0.9

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page