It depends on a lot of things.

1. You can try running:
python
from django import get_version
print get_version()


2. If you don't see manage.py in the root directory, you are probably using
a very old version of django.  I would start by creating a virtualenv
running an early version of Django (maybe 1.2) and get the application
running.  Then slowly upgrade (1.3, then 1.4, etc...) until you get up to
1.7.  Follow the upgrade instructions here:
https://docs.djangoproject.com/en/1.7/releases/

If there isn't much code to the app, I would start with a clean project and
slowly move the required apps over to the new project.  But it all depends
on the time you have available and the amount of code to work with.

3. Follow the steps in the release notes.  Possibly use a tool like 'grep'
if you are in a Linux environment to search through the code for deprecated
modules.  If the application has a good set of tests, they should tell you
what's broken.

4. Depends on how much code, how much time, and how efficient you are as a
programmer.  If you've got four weeks, but only need 90 minutes of sleep
every night, most projects can be re-written from scratch.  ;)

If it seems too daunting, you can always post specific questions herep--or
even find someone (https://www.djangojobs.net/jobs/) to help you
professionally.

-A

On Sat, Sep 6, 2014 at 1:30 PM, Abdulla Al-Khenji <al.khe...@gmail.com>
wrote:

> Hello all,
>
> I have been assigned with updating a Django project that was last
> developed in 2012 to the latest version, fixing bugs, and security issues,
> and updating deprecated code to match the latest version.
>
> Couple of questions I couldn't answer myself:
>
> 1) How can I check which version this application was built on?
> 2) I don't see a "manage.py" file anywhere, how can get that file? I need
> it to run the application on a local server at least.
> 3) How do I go about and actually "update" all the deprecated code?
> 4) Would you guys recommend that we start writing it again from scratch?
>
> I have 4 weeks to do that, so time plays a crucial role here..
>
> Thanks!
>
> --
> 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/9eba19fa-b9ab-4382-accc-0317edd92bb7%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9eba19fa-b9ab-4382-accc-0317edd92bb7%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEE%2BrGo0RXqWAMg%3Dshk9GtWfraJ4OFExfot-SgE%3DW7BjsM2EfQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to