From 7bf4d8c7af7e2f2d709d2f549f10639f1504ebbd Mon Sep 17 00:00:00 2001 From: Leslie Chan Date: Thu, 13 Jul 2023 15:41:08 +0800 Subject: [PATCH] fix: Update --- README.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ecb1c9d..8a16c18 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,7 @@ 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... @@ -30,14 +31,19 @@ Add `'drf_system_setting'` to your `INSTALLED_APPS` setting. ```python 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`: +To enable access to the user interface add the url path `settings`(just what ever you want) to your `urls.py`: ```python +from django.urls import path, include +urlpatterns = [ + ..., +] + urlpatterns += [ path('settings/', include('drf_system_setting.urls', namespace='drf_system_setting')) ]