Skip to content

cosme12/futbol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

futbol

Django commands

Run server

python manage.py runserver

Create new app

  1. python manage.py startapp newapp

Migrations

  1. Create or update a model
  2. Run python manage.py makemigrations <app_name>
  3. Run python manage.py migrate to migrate everything or ./manage.py migrate <app_name> to migrate an individual app
  4. Repeat as necessary

Create superuser

>python manage.py createsuperuser

Production

Static files production

https://docs.djangoproject.com/en/2.2/howto/static-files/ https://stackoverflow.com/questions/12042202/django-static-files-not-working

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors