Re: A Django project life cycle

2010-06-20 Thread Graham Dumpleton
On Jun 20, 10:07 pm, Sam Lai wrote: > If you want to run a piece of code on receiving a view HTTP request, > and a piece of code just before the response is sent to the user, look > into Django middleware > (http://docs.djangoproject.com/en/dev/topics/http/middleware/).

Re: A Django project life cycle

2010-06-20 Thread Sameer Rahmani
h , i use wsgi and django development server, i was thinking about signals too, and thanks for docs i'll read them -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To

Re: A Django project life cycle

2010-06-20 Thread Sam Lai
If you want to run a piece of code on receiving a view HTTP request, and a piece of code just before the response is sent to the user, look into Django middleware (http://docs.djangoproject.com/en/dev/topics/http/middleware/). That is what it is specifically designed to do. If instead you want to

Re: A Django project life cycle

2010-06-20 Thread Sameer Rahmani
i want to run a peace of code in the beginning of life cycle ( may be in settings.py ) but i want to know about number process and the codes that remain on memory ? olso i want to run a peace of code in the ending part -- You received this message because you are subscribed to the Google Groups

Re: A Django project life cycle

2010-06-20 Thread Sam Lai
I can't really help you because I don't know the internal life cycle either. I'd just start with reading through the code, which isn't really that hard (and it is what I've been doing for my custom admin form behaviour). If you have specific questions, you could post it here (or if it looks like

Re: A Django project life cycle

2010-06-20 Thread Sameer Rahmani
thanks for your consideration , i know that this is a painful matter and need extra work but i need to understand this cycle to write some peace of code for my project that optimize some actions also i really love to contribute to django, so please guide me :) -- You received this message

Re: A Django project life cycle

2010-06-20 Thread Sam Lai
33 Sameer Rahmani wrote: >> i want to know about a django project life cycle, can any body help me >>  please? >> >> i want to know how a django project run under wsgi and development server ? >> which files runs first? >> does a project run in each request? or

Re: A Django project life cycle

2010-06-20 Thread Kenneth Gonsalves
On Saturday 19 June 2010 19:21:10 Sameer Rahmani wrote: > >> http://www.catb.org/~esr/faqs/smart-questions.html > >> http://www.djangobook.com/ > > just for more information , i read django book , i know what i want , > and if you don't want to help please don't send me those link. > > > Can

Re: A Django project life cycle

2010-06-19 Thread Kenneth Gonsalves
On Saturday 19 June 2010 18:04:33 Sameer Rahmani wrote: > i want to know about a django project life cycle, can any body help me > please? > > i want to know how a django project run under wsgi and development server ? > which files runs first? > does a project run in each req

Re: A Django project life cycle

2010-06-19 Thread Karen Tracey
On Sat, Jun 19, 2010 at 8:34 AM, Sameer Rahmani <lxsam...@gmail.com> wrote: > Hi all > > i want to know about a django project life cycle, can any body help me > please? > > i want to know how a django project run under wsgi and development server ? > which files runs

Re: A Django project life cycle

2010-06-19 Thread Sameer Rahmani
>> http://www.catb.org/~esr/faqs/smart-questions.html >> http://www.djangobook.com/ just for more information , i read django book , i know what i want , and if you don't want to help please don't send me those link. > Can anyone give OP a useful answer? what do you mean by OP -- You received

Re: A Django project life cycle

2010-06-19 Thread Magnus Valle
Can anyone give OP a useful answer? On Sat, Jun 19, 2010 at 13:41, Venkatraman S <venka...@gmail.com> wrote: > > On Sat, Jun 19, 2010 at 6:04 PM, Sameer Rahmani <lxsam...@gmail.com> wrote: >> >> i want to know about a django project life cycle, can any body help me &

Re: A Django project life cycle

2010-06-19 Thread Venkatraman S
On Sat, Jun 19, 2010 at 6:04 PM, Sameer Rahmani <lxsam...@gmail.com> wrote: > > i want to know about a django project life cycle, can any body help me > please? > > i want to know how a django project run under wsgi and development server ? > which files runs first? >

A Django project life cycle

2010-06-19 Thread Sameer Rahmani
Hi all i want to know about a django project life cycle, can any body help me please? i want to know how a django project run under wsgi and development server ? which files runs first? does a project run in each request? or it remain in memory ? and any other useful information thanks all