database package
Project description
===== kuldeep
Kuldeep is a Django app to conduct Web-based kuldeep. For each question, visitors can choose between a fixed number of answers.
Detailed documentation is in the "docs" directory.
Quick start
-
Add "kuldeep" to your INSTALLED_APPS setting like this::
INSTALLED_APPS = [ ... 'rest_framework', 'kuldeep',
]
-
Include the kuldeep URLconf in your project urls.py like this:: instead from django.urls import path
use this
from django.urls import path, include from kuldeep.views import HarvestViewSet, BreadViewSet
router = routers.DefaultRouter()
router.register(r'harvest', HarvestViewSet), router.register(r'bread', BreadViewSet),
urlpatterns = [ path('admin/', admin.site.urls), # for admin path('', include(router.urls)), # for routers ]
-
Run
python manage.py migrateto create the kuldeep models. -
Start the development server and visit http://127.0.0.1:8000/admin/ to create a poll (you'll need the Admin app enabled).
-
Visit http://127.0.0.1:8000/harvest or /bread to test postman collection.
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
File details
Details for the file django-kuldeep-1.8.tar.gz.
File metadata
- Download URL: django-kuldeep-1.8.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f577c43c582cd9ae675a7cd5aaedfe1058e76a95abd79c51c19348cb1e4412f7
|
|
| MD5 |
17a65b5b0bb75c0a0198e219dcd78f0d
|
|
| BLAKE2b-256 |
7aa9e78fa0dcb1bc0fdecd0beef571925e678a4f5748b5f42b50b318d82f5ef2
|