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 details)
Built Distribution
File details
Details for the file garpix_favourite-2.2.0.tar.gz
.
File metadata
- Download URL: garpix_favourite-2.2.0.tar.gz
- Upload date:
- Size: 13.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.30.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 607df1bab9515b3afeea2644d9210967a245c97dbcb3882f25c2d5046d876794 |
|
MD5 | 4d788655035fae585818d5c51170e071 |
|
BLAKE2b-256 | 0b39278b2b7c290cb61ac910f34ede21bc186a60e1669609bd3cf32deb4ea110 |
File details
Details for the file garpix_favourite-2.2.0-py3-none-any.whl
.
File metadata
- Download URL: garpix_favourite-2.2.0-py3-none-any.whl
- Upload date:
- Size: 20.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/6.6.0 pkginfo/1.9.6 requests/2.30.0 requests-toolbelt/1.0.0 tqdm/4.65.0 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a60d3882dfccb607bdb896bf90fd58d53fa5022c35e6767dfb8be0f6fa920c8 |
|
MD5 | 645c8828ad56db5a1435e1a3f44289f8 |
|
BLAKE2b-256 | f673dee2a06cc08b7c7a4a1b5947e82eee5272297fcf67225974b042209810ad |