Answers for "django serve"

5

starting server in django

# to start a django server cd to dir with manage.py file and type following
python manage.py runserver
Posted by: Guest on June-04-2020
4

my django template doesnt want to load the static file

STATIC_URL = '/static/'
STATIC_ROOT = os.path.join(BASE_DIR, "/static/")

STATICFILES_DIRS = ( 
    STATIC_ROOT,        
)
Posted by: Guest on November-21-2020
1

run a django project

$ python manage.py runserver
Posted by: Guest on May-03-2020
1

staticfiles

STATICFILES_DIRS = [BASE_DIR / 'static']
Posted by: Guest on October-07-2020

Code answers related to "django serve"

Python Answers by Framework

Browse Popular Code Answers by Language