/drf-system-setting

Primary LanguagePythonMIT LicenseMIT

drf-system-setting

pypi python Build Status codecov

Skeleton project created by Cookiecutter PyPackage

Requirement

  • Python 3.8, 3.9, 3.10, 3.11
  • Django 3.2, 4.0, 4.1
  • django-rest-framework

Installation

Install using pip...

pip install drf-system-setting

Add 'drf_system_setting' to your INSTALLED_APPS setting.

INSTALLED_APPS = [
    'django.contrib.admin',
    ...,
    'drf_system_setting',
]

To enable access to the user interface add the url path settings(just what ever you want) to your urls.py:

from django.urls import path, include
urlpatterns = [
    ...,
]

urlpatterns += [
    path('settings/', include('drf_system_setting.urls', namespace='drf_system_setting'))
]

before running migrate:

python manage.py migrate drf_system_setting

Credits

This package was created with Cookiecutter and the waynerv/cookiecutter-pypackage project template.