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.2.0.tar.gz
(13.1 kB
view hashes)
Built Distribution
Close
Hashes for garpix_favourite-2.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a60d3882dfccb607bdb896bf90fd58d53fa5022c35e6767dfb8be0f6fa920c8 |
|
MD5 | 645c8828ad56db5a1435e1a3f44289f8 |
|
BLAKE2b-256 | f673dee2a06cc08b7c7a4a1b5947e82eee5272297fcf67225974b042209810ad |