Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 June 19, 2010 13:34:43

Sameer R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 19, 2010 13:41:40

Venkatraman S.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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?
> does a project run in each request? or it remain in memory ?
> and any other useful information
>
>http://www.catb.org/~esr/faqs/smart-questions.htmlhttp://www.djangobook.com/-V

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 June 19, 2010 14:48:36

Magnus V.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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
>> 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
>>
>
>http://www.catb.org/~esr/faqs/smart-questions.html>http://www.djangobook.com/>
>
> -V
>
> --
> 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 unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>



--
Magnus

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#4 June 19, 2010 14:51:22

Sameer R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


>>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 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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#5 June 19, 2010 15:08:38

Karen T.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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 first?
> does a project run in each request? or it remain in memory ?
> and any other useful information
>http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.htmldelves into a lot of what you are asking about.

Karen
--http://tracey.org/kmt/--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#6 June 20, 2010 05:46:28

Kenneth G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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 request? or it remain in memory ?
> and any other useful information
>

well first thing is that django is a framework and not a server. So basically
the flow is precisely the same as ordinary cgi programming. You type in a url
which calls a function which does something and displays a page.
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#7 June 20, 2010 09:05:42

Kenneth G.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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 anyone give OP a useful answer?
>
> what do you mean by OP
>

Original Poster
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#8 June 20, 2010 09:11:56

Sam L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


The onion model on the Django middleware documentation page might also help -http://docs.djangoproject.com/en/dev/topics/http/middleware/The rest of it (how it is handled from the WSGI handler etc.) is
really an internal matter. Unless you want to contribute to Django or
create some custom version of it, there isn't much need/point in
fiddling with it, because you'll just be asking for pain when there
are updates. There should be enough extensibility points for you
already.

On 20 June 2010 14:47, Kenneth Gonsalves <law...@au-kbc.org> wrote:
> 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 request? or it remain in memory ?
>> and any other useful information
>>
>
> well first thing is that django is a framework and not a server. So basically
> the flow is precisely the same as ordinary cgi programming. You type in a url
> which calls a function which does something and displays a page.
> --
> Regards
> Kenneth Gonsalves
> Senior Associate
> NRC-FOSS at AU-KBC
>
> --
> 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 unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#9 June 20, 2010 10:56:21

Sameer R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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 because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#10 June 20, 2010 11:20:14

Sam L.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

A Django project life cycle


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 you need to extend something that Django doesn't currently allow,
maybe try the django-dev list).

The members here might be able to offer better solutions if you let us
know what you are trying to optimise, because someone here might have
experienced the problem before (and done the digging that you're
after).

Also, I'm sure you've heard all the bad things that are said about
premature optimisation. Write your code first according to Django
conventions, then optimise.

On 20 June 2010 19:56, Sameer Rahmani <lxsam...@gmail.com> wrote:
> 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 because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
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 unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 19th of October
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support