Django Tutorial for Beginners – 6 – Database Setup

[ad_1]
Facebook –
GitHub –
Google+ –
LinkedIn –
reddit –
Support –
thenewboston –
Twitter –


Posted

in

by

Tags:

Comments

21 responses to “Django Tutorial for Beginners – 6 – Database Setup”

  1. Sam Omidi Avatar

    After running python manage.py migrate I can't login to admin page anymore.

  2. Pardhasaradhi Sangula Avatar

    Page not found (404)
    Request Method: GET
    Request URL: http://127.0.0.1:8000/
    Using the URLconf defined in website.urls, Django tried these URL patterns, in this order:
    ^admin/
    ^music/
    The empty path didn't match any of these.
    You're seeing this error because you have DEBUG = True in your Django settings file. Change that to False, and Django will display a standard 404 page.

  3. Bag O'Life Navy Avatar

    Thanks for your awesome tutorials!!

  4. Anderson Lee Avatar

    before we create any more pages
    before we create albums or add any songs
    can we pretend that airplaines in the night are shooting stars

  5. Bishnu Shankar Pandey (Trainee) Avatar

    Kindly help me in creating a connection with Hive from Django project

  6. Kshitiz Khinchi Avatar

    I am not getting migration directory when i am creating app in the project

  7. Lemuel Aaron Lalic Avatar

    Based in our discussion at school, the migrations just detect changes in the models.py per "app" just to make it specific 🙂
    You told us that it is needed for the tables and the models are used to form those tables.
    I hope my comment gives a little light to the discussion.

  8. Yo Co Avatar

    man what the hell is "hoses?"

  9. THM_ALEXEIS Avatar

    I'd never have understood this if I hadn't seen laravel first.

  10. Himanshu Panth Avatar

    after doing this, the admin password got changed.

  11. wrjthe Avatar

    is this a 1 time command when you first start on a website ?

  12. malachi pride Avatar

    Thanks for sharing this tutorial!

  13. averytan Avatar

    can anyone else hear the music in the background????

  14. enkhjargal uranbadam Avatar

    hello I get stuck. i can not find terminal. I just learn from today. someone help me?

  15. nanaiah nikhil Avatar

    can i use a ontology as a database

  16. swapnil jain Avatar

    hi Bucky I get stuck ,plz sort out ,when I run the link it comes an error current url doesn't match this… you're seeing this error bcoz you have debug=true

  17. Dimitar Dimitrov Avatar

    No thanks Wix i am creating it without your help

  18. Mohammed Khan Avatar

    its python manage.py migrate for anyone whos text editor atom or something else is opening up

  19. Rachit Aryal Avatar

    WHEN I HIT python manage.py migrate ON THE TERMINAL

    I GET

    Traceback (most recent call last):
    File "manage.py", line 22, in <module>
    execute_from_command_line(sys.argv)
    File "C:Python34libsite-packagesdjangocoremanagement__init__.py", line 367,
    in execute_from_command_line
    utility.execute()
    File "C:Python34libsite-packagesdjangocoremanagement__init__.py", line 316,
    in execute
    settings.INSTALLED_APPS
    File "C:Python34libsite-packagesdjangoconf__init__.py", line 53, in __getattr
    __
    self._setup(name)
    File "C:Python34libsite-packagesdjangoconf__init__.py", line 41, in _setup
    self._wrapped = Settings(settings_module)
    File "C:Python34libsite-packagesdjangoconf__init__.py", line 97, in _init_
    mod = importlib.import_module(self.SETTINGS_MODULE)
    File "C:Python34libimportlib__init__.py", line 109, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
    File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
    File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
    File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
    File "<frozen importlib._bootstrap>", line 1129, in _exec
    File "<frozen importlib._bootstrap>", line 1467, in exec_module
    File "<frozen importlib._bootstrap>", line 1572, in get_code
    File "<frozen importlib._bootstrap>", line 1532, in source_to_code
    File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
    File "C:UsersrachitDesktopmytunesmytunesmytunessettings.py", line 1
    """
    ^
    IndentationError: unexpected indent

Leave a Reply

Your email address will not be published. Required fields are marked *