On Mon, Jun 17, 2013 at 4:13 AM, Sandeep kaur <mkaurkha...@gmail.com> wrote:

> I have this Web application made in Django 1.3. And now when I use it
> on Django 1.5, it does not work. It give error as no module simple.
> So, Is there any migration tool
> to make my application work easily on 1.5 version without manually
> making lot of changes?
>

Upgrading from Django 1.3 to Django 1.5 shouldn't be a major problem, and
certainly shouldn't require a migration tool. There may be some minor
changes required in your templates (around the {% url %} tag), but
otherwise the code should run pretty much exactly the same. The error
you're describing is a problem with imports, and that *isn't* something
that has changed between Django versions.

In particular, your error message is talking about a module called
"simple". There's only one Django module with that name --
django.test.simple. To the best of my knowledge, that module didn't change
significantly between Django 1.3 and 1.5 -- certainly not in any way that
would result in an import error.

This suggests that the problem lies in either your own code, or in your
development environment. The fact that imports are now failing suggests
that it is the development environment that is the problem. Check all the
changes you've made that may affect import paths. If you're getting import
errors, open a Python shell and try to perform the import. If it doesn't
work at the shell, it won't work in a Django web server either.

Without any more details, it's near impossible to provide more help.
However, suffice to say that Django takes it's backwards compatibility very
seriously, and as long as you're using Django as documented, upgrading
between versions should not be a major problem.

Yours,
Russ Magee %-)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to