Python Django manage.py runserver pop out a note pad -
i learning python django through youtube. followed tutorial step step: used django-admin startproject mysite
create new project, went mysite
directory , ran manage.py runserver
. supposed give me validating model
information, poped out manage.py
notepad. content of listed below:
#!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("django_settings_module", "mysite.settings") django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
it command did nothing. can tell me wrong? thank you!
it needs executed python. try
python manage.py runserver
Comments
Post a Comment