No project description provided
Project description
Garpix Favourite
Избранное для любых моделей. Является частью GarpixCMS.
Быстрый старт
Установка через pipenv:
pipenv install garpix_favourite
Добавьте garpix_favourite
в INSTALLED_APPS
и укажите адрес для миграций:
# settings.py
from garpixcms.settings import * # noqa
INSTALLED_APPS += [
'garpix_favourite',
]
MIGRATION_MODULES['garpix_favourite'] = 'app.migrations.garpix_favourite'
Создайте директории и файлы:
backend/app/migrations/garpix_favourite/
backend/app/migrations/garpix_favourite/__init__.py
Сделайте миграции и мигрируйте:
python3 backend/manage.py makemigrations
python3 backend/manage.py migrate
Добавьте в urls.py
:
# ...
urlpatterns = [
# ...
# garpix_favourite
path('', include(('garpix_favourite.urls', 'favourite'), namespace='garpix_favourite')),
]
Changelog
See CHANGELOG.md.
Contributing
See CONTRIBUTING.md.
License
Developed by Garpix / https://garpix.com
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
garpix_favourite-2.1.0.tar.gz
(12.4 kB
view hashes)
Built Distribution
Close
Hashes for garpix_favourite-2.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 923c3bd46f6860fe0299c6a8a2114d7cc75ad65b3a00247d24cee9165c4612af |
|
MD5 | 46e7f9e8a1824a454b7439a679614c15 |
|
BLAKE2b-256 | 31da6003c87c8d6fa2594b8abd5925f172194db0bfb8f2c8c5667ea31528493b |