-
Create virtualenv
python -m venv env#name of the virtualenv env\Scripts\activate
-
Create a new project
mlapps
is the name of the project
$ django-admin startproject mlapps .
-
Run the server
$ python3 manage.py runserver $ python manage.py makemigrations #Create models and run migrate $ python3 manage.py migrate
- View it at
https://localhost:8000/
orhttps://127.0.0.1:8000/
- View it at
-
Adding the apps to the src dir called
authenticate
$ python3 manage.py startapp authenticate
-
Adding superuser(admin)
$ python manage.py createsuperuser
-
Notifications
You must be signed in to change notification settings - Fork 0
django
License
naeem-bebit/django-data
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
django
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published