Skip to main content

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

MIT


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)

Uploaded Source

Built Distribution

garpix_favourite-2.2.0-py3-none-any.whl (20.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page