justdjango / django-ecommerce

An e-commerce website built with Django
GNU General Public License v3.0
2.05k stars 1.59k forks source link

Rename command issue #35

Closed OvoidChickenStorage closed 4 years ago

OvoidChickenStorage commented 4 years ago

Rename command looks for projectname/settings.py but settings.py has been depreciated for settings/base.py.

Can be fixed by changing core/management/commands/rename.py from:

    files_to_rename = [f'{current_project_name}/settings.py',
                      f'{current_project_name}/wsgi.py', 'manage.py']

To:

    files_to_rename = [f'{current_project_name}/settings/base.py',
                       f'{current_project_name}/wsgi.py', 'manage.py']
csyjin6 commented 4 years ago

thanks man

mattfreire commented 4 years ago

Fixed in this PR