Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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

…stead of string concatenation

git-svn-id: http://code.djangoproject.com/svn/django/trunk@322 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit aeff2cb530fb2a0234bac4fb31aa650d4395f55a 1 parent 5a3da94
Adrian Holovaty authored July 26, 2005

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  django/core/management.py
4  django/core/management.py
@@ -16,8 +16,8 @@
16 16
 
17 17
 # Use django.__path__[0] because we don't know which directory django into
18 18
 # which has been installed.
19  
-PROJECT_TEMPLATE_DIR = django.__path__[0] + '/conf/%s_template'
20  
-ADMIN_TEMPLATE_DIR = django.__path__[0] + '/conf/admin_templates'
  19
+PROJECT_TEMPLATE_DIR = os.path.join(django.__path__[0], 'conf/%s_template')
  20
+ADMIN_TEMPLATE_DIR = os.path.join(django.__path__[0], 'conf/admin_templates')
21 21
 
22 22
 def _get_packages_insert(app_label):
23 23
     return "INSERT INTO packages (label, name) VALUES ('%s', '%s');" % (app_label, app_label)

0 notes on commit aeff2cb

Please sign in to comment.
Something went wrong with that request. Please try again.