Simple Django app for making any object featured.
Project description
django-featured-objects
Simple Django app for making any object featured.
Authored by Pedro Burón, and some great contributors.
Installation
First install the module, preferably in a virtual environment. It can be installed from PyPI:
pip install django-featured-objects-redux
Setup
You’ll need to add featured to INSTALLED_APPS in your project’s settings.py file:
INSTALLED_APPS += [
'featured',
]
Then run ./manage.py migrate to create the required database tables.
Configuration
There is only one mandatory configuration option you need to set in your settings.py :
FEATURABLE_MODELS = (
('app_label', 'model_name'),
('app_label', 'another_model_name'),
)
Please see the example application. This application is used to manually test the functionalities of this package. This also serves as a good example.
You need Django 1.8 or above to run that. It might run on older versions but that is not tested.
Usage
[TBD]
Contributing
If you’ve found a bug, implemented a feature or customized the template and think it is useful then please consider contributing. Patches, pull requests or just suggestions are welcome!
License
django-featured-objects-redux is released under the GPLv3 license.
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
Built Distribution
File details
Details for the file django-featured-objects-redux-0.1.2.tar.gz
.
File metadata
- Download URL: django-featured-objects-redux-0.1.2.tar.gz
- Upload date:
- Size: 18.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffa2ba87b58185d7d4a1f9ffc69aea1035825873d9cd75098e9fde34b5eb56f7 |
|
MD5 | dbded2c201e5ff56c8dee4b3fe4c94f0 |
|
BLAKE2b-256 | 05bfeb7cb80b7a0d101efe2b1d771a6cc8cbafb779bfbdaf4af1b01d43aeac62 |
File details
Details for the file django_featured_objects_redux-0.1.2-py2.py3-none-any.whl
.
File metadata
- Download URL: django_featured_objects_redux-0.1.2-py2.py3-none-any.whl
- Upload date:
- Size: 19.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4619c888f4bb9bcffd4f6eb92ef78fb11db2d598bed59cc95abdadb556165aa |
|
MD5 | 2268e5cac969fdcf1f749f0fce8cc266 |
|
BLAKE2b-256 | b38cd4565f0164d8748a20f2391a3917a3de22560e1bbd21b2ca0152d650a75b |