Skip to content

bijaythapaa/bug-free-octo-dollop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

bug-free-octo-dollop

This is a python package 'django-polls', I have created.

to install this on your project, do:

Steps:

  1. Clone this repository: hit in your terminal: git clone git@github.com:dbijaya/bug-free-octo-dollop.git
  2. Copy the folder named 'django-polls' and then paste outside of your current project directory.
  3. and hit command: python -m pip install --user django-polls/dist/django-polls-0.1.tar.gz .
  4. use Vertual environment (optional, but Recommended)
  5. you may haven't installed setuptools, if not do install: pip install setuptools
  6. don't forget to specify app name 'polls' in your project settings.py file as:
INSTALLED_APPS = [
   ...
   'polls',
]
  1. also, specify url in 'urls.py' as:
from django.urls import path, include
urlpatterns = [
  path('polls/', include('polls.urls'),)
]
  1. now run, python manage.py runserver
  2. locate url: http://localhost:8000/polls/

with Luck, it should work :)

Releases

No releases published

Packages

No packages published