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.1.tar.gz
(4.0 kB
view details)
File details
Details for the file content-links-0.1.1.tar.gz
.
File metadata
- Download URL: content-links-0.1.1.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e6cf9d5e80cb0a2b6a1066ea87940da14bcd7184eafb4f948a951bd89a6e09b |
|
MD5 | e6049b9fb4f6236fca1095d77401da0f |
|
BLAKE2b-256 | 6c3917e55c52c11675a739d9544df00eed8b15ae0e91d7436b24c73dcd686218 |