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.0.0.tar.gz
(11.2 kB
view hashes)
Built Distribution
Close
Hashes for garpix_favourite-2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8abe5c736e806169a9615fa980860ab4eb9bbb43f47c2444563de6b8b31dc7dd |
|
MD5 | 4f204b029f1cc36b50ddfabac6f90b83 |
|
BLAKE2b-256 | 6381e3f873bc7fdb414ea123de3af2aaa3d84383e2d2c66e39e31a3a74a8fb36 |