Hi

In addition to what has already been said.

Make use of command line search tools. Hoe to search through all the python
files using BASH is a good example.

eg: In one of my projects i have to find all the places where a particular
class is called or instantiated: 'LocationAirfieldLookup'

find . -name '*.py' -exec grep -E -H -n 'import LocationAirfieldLookup'
'{}' \; -print

will return every python file where that is instantiated:
/users/views.py:94:    from Aeroclub.common.LocationsUtils import
LocationAirfieldLookup

Very useful.

Firstly, get an idea of what each 'app' eg: polls app in the tutorial is
supposed to do. Where its functionality starts/ends, what common resources
it uses.

Then i look at the various urls.py files with a conventional analoge
notepad nearby to map out some of the important stuff.

I also look at models.py for important parts of the software.(afterall this
is how it uses the DB). Here you may want to use a tool like grep to just
get the class names.
models often have a lot of custom functionality in them. Eg: cusomised
'save' methods etc.

This all really boils down to good documentation practices. If there's good
docs then its easier, otherwise expect to spend a day or two learning to
understand the program.

cheers




On Thu, Jun 6, 2013 at 2:06 PM, sidddd <thesid...@gmail.com> wrote:

> I have already existing web application code written by a someone else now
> I need to work on it.
> So I am trying to understand the architecture of the various classes and
> interaction. I want to know where jump in and how to understand the
> architecture of the code.
> Urls.py seems to be a good place to start off.
> Thanks for the suggestions.
>
> --
> 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?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to