News for hackers. Stuff that matters.
Re:Things I do every time I start a Django project by adiyatmubarak on Thursday June 23, 2022 @07:39PM (#31856410)
I used Django, and personally I don't like Django startaproject command that not allow us to create project that contains dash "-". Also default appname has the same name with the project name can confusing the new comer in Django.

I always structures my project like this when start my Django project.

$ mkdir -p my-example-project/src

$ cd my-example-project/src

$ django-admin startproject youtube_downloader .

so all Django related will be under src folder.

Re:Things I do every time I start a Django project by abalaji on Thursday June 23, 2022 @08:08PM (#31856572)
That's actually a Python convention issue rather than a Django issue. Python convention dictates preference for underscores. This is because dashes cannot be used in a module name.
Re:Things I do every time I start a Django project by adiyatmubarak on Thursday June 23, 2022 @09:27PM (#31856961)
Yes, because default Django app name by default using the same name with Django project name.