Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Did you make your project name “config”? Commented Nov 22, 2018 at 4:14
  • 1
    I didn't; if I run django-admin startproject myproject, the first thing I do it rename the subdirectory myproject to be config, and edit config/settings.py to replace instances of myproject with config, such as myproject.urls becoming config.urls. That way, all of our projects have their configurations in the same subdirectory. Commented Nov 22, 2018 at 13:26
  • 2
    Wouldn’t doing ‘Django-admin startproject config .’ have the same effect? Commented Nov 22, 2018 at 15:31
  • 1
    Six of one, half-dozen of another: there are some comments in the boilerplate that also insert the project name. But yes, probably easier that way, as they are just comments. Good idea! Commented Nov 23, 2018 at 2:43