Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed #93 -- Fixed 'django-admin startproject' to use os.path.join in…

…stead of string concatenation

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit aeff2cb530fb2a0234bac4fb31aa650d4395f55a 1 parent 5a3da94
@adrianholovaty adrianholovaty authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/
4 django/core/
@@ -16,8 +16,8 @@
# Use django.__path__[0] because we don't know which directory django into
# which has been installed.
-PROJECT_TEMPLATE_DIR = django.__path__[0] + '/conf/%s_template'
-ADMIN_TEMPLATE_DIR = django.__path__[0] + '/conf/admin_templates'
+PROJECT_TEMPLATE_DIR = os.path.join(django.__path__[0], 'conf/%s_template')
+ADMIN_TEMPLATE_DIR = os.path.join(django.__path__[0], 'conf/admin_templates')
def _get_packages_insert(app_label):
return "INSERT INTO packages (label, name) VALUES ('%s', '%s');" % (app_label, app_label)
Please sign in to comment.
Something went wrong with that request. Please try again.