Status: New Owner: ---- Labels: Type-Defect Priority-Medium New issue 168 by ingenieroariel: Eliminate harcoded project_name http://code.google.com/p/django-hotclub/issues/detail?id=168
In order to make it easier to just copy a project and start customizing it it would be good to eliminate the hard coding of the project name everywhere it is possible. Here are the current places where the project name is hardcoded: == On file names == deploy/complete_project.wsgi == On the code == ./deploy/complete_project.wsgi:1:# complete_project.wsgi is configured to live in projects/complete_project/deploy. ./deploy/complete_project.wsgi:16:os.environ["DJANGO_SETTINGS_MODULE"] = "complete_project.settings" ./deploy/complete_project.fcgi:1:# complete_project.fcgi is configured to live in projects/complete_project/deploy. ./deploy/complete_project.fcgi:12:os.environ["DJANGO_SETTINGS_MODULE"] = "complete_project.settings" ./settings.py:87:ROOT_URLCONF = 'complete_project.urls' == Analisys == 1. complete_project.wsgi: This one is easy, just change it to project.wsgi 2. ROOT_URLCONF: It may or not be possible, the following works but I am not sure what problems it may cause: ROOT_URLCONF='urls' 3. os.environ["DJANGO_SETTINGS_MODULE"] = "complete_project.settings" This one is a bit harder, I have no idea at the moment -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred this issue. You may adjust your issue notification preferences at: http://code.google.com/hosting/settings --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pinax-updates" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pinax-updates?hl=en -~----------~----~----~----~------~----~------~--~---
