[Answer]-Django_admin_log has not been created for me

1👍

django_admin_log is a table that was created when you ran python manage.py syncdb. It’s showing in the terminal output you posted that displayed after you ran syncdb:

Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_groups
Creating table auth_user_user_permissions
Creating table auth_user
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table django_admin_log  <---RIGHT HERE
Creating table rango_category
Creating table rango_page

That table isn’t really important to worry about now that it’s actually created. The real key for you is to find your urls.py in your project configuration directory.

Your project configuration directory is a directory within your project directory that has the same name as your project directory. From earlier in the Tango with Django tutorial:

You’ll now notice within your workspace is a directory set to the name
of your new project, tango_with_django_project. Within this newly
created directory, you should see two items:

  • another directory with the same name as your project, tango_with_django_project; and
  • a Python script called manage.py.

For the purposes of this tutorial, we call this nested directory the
project configuration directory
. Within this directory, you will find
four Python scripts. We will discuss this scripts in detail later on,
but for now you should see:

Thus, based on your directory structure, your project configuration directory is located at:

PS C:\users\Glowie\django\tango_with_django_project\tango_with_django_project>

and the tutorial wants you to open the urls.py file within that directory.

👤Alex

Leave a comment