UNKNOWN
Project description
Content links
Content links is a FeinCMS content type app which allows you to link other FeinCMS pages, or external URLs, to specific page within your website.
Installation
Install it by
pip install content-links
Add content_links to your INSTALLED_APPS in settings.py
- INSTALLED_APPS = (
‘awesome_app’,
‘content_links’,
‘django_stuff_etc’,
)
Register the app for FeinCMS in models.py
from feincms.module.page.models import Page
from content_links.models import ContentLink
- Page.create_content_type(ContentLink, TYPE_CHOICES=(
(‘one’, ‘One’),
(‘two’, ‘Two’), )
)
Synchronize database by running
python manage.py syncdb –all
Visit admin panel and have fun!
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
content-links-0.1.tar.gz
(4.0 kB
view details)
File details
Details for the file content-links-0.1.tar.gz
.
File metadata
- Download URL: content-links-0.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7412e4390e8dda81fe8bbb48ea0745a3f226008407dc37a9a4b09e205c6a881 |
|
MD5 | 0ce704bb148951eee6a7272c1d7892c7 |
|
BLAKE2b-256 | dc643ac46d6330b23a30cdebcf0fde5fec3c4b9705d24e6292393a51198a1faf |