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.2.tar.gz
(3.9 kB
view details)
File details
Details for the file content-links-0.1.2.tar.gz
.
File metadata
- Download URL: content-links-0.1.2.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4a918d44734605fae48d72e154d7518b349663070770205813bc41cc386680e0 |
|
MD5 | ac432febb2c8fa27fd9896052a504688 |
|
BLAKE2b-256 | 21d3a02a9334b42e97d58555c76ac0fb3e9eb7acb820e9300049f87c7d39dac2 |