Forums

Python 2.7 vs Python 3.3

Hi all,

I created my Django project by selecting Django 1.6 and Python 3.3. I realized now that I didn't create my apps with

python3.3 manage.py startapp ...

but only

python manage.py startapp ...

The difference is now that my file structure is

project_name/project_name/app_name

and not

project_name/app_name

I was just wondering if it will have any major negative impact on my Django project later on. Thanks for support

The doubled-up project name is fine -- that's just the difference between Django 1.3 and later versions. I'm can't say for sure that the project will work if you created it with Python 2.7, though. Django 1.6 is meant to be compatible with both Python versions, but it might generate subtly different code depending on the version you run manage.py as. I'd recommend recreating the app.