ANN: django-overextends

2012-06-09 Thread Stephen McDonald
Hi all, As we know, circular template inheritance in Django templates isn't possible, and usually doesn't make sense. There are some cases though, where it can be extremely useful. Particularly when overriding sufficiently complex templates in third-party apps. I've just released a small

Custom Managers vs Custom QuerySets

2012-06-09 Thread mikegolf
Hi, what are pros / cons of extending Managers versus QuerySets? I'd like to know which way is preferred and *why*. Thank you in advance! mg -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Django Database Improperly Configured when function called outside of Django

2012-06-09 Thread Group Mail
Hi, I asked the following django-related question on StackOverflow the other day and didn't get much of a response, so I figured I'd ask you all here. http://stackoverflow.com/questions/10881249/django-database-improperly-configured-when-function-called-outside-of-django Is my database

1.2 ModelForm.is_valid() backward incompatible change

2012-06-09 Thread ydjango
>From 1.2 release notes (backward incompatible change): "Much of the validation work for ModelForms has been moved down to the model level. As a result, the first time you call ModelForm.is_valid(), access ModelForm.errors or otherwise trigger form validation, your model will be cleaned in-place.

Re: What the difference of django 1.4 runserver with mod_wsgi?

2012-06-09 Thread Raitucarp
Thanks guys. It is clear now -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more

Re: What the difference of django 1.4 runserver with mod_wsgi?

2012-06-09 Thread Masklinn
On 2012-06-09, at 17:18 , Raitucarp wrote: > So, I was confused with manage.py runserver. Is it the same as > mod_wsgi? No, they have no relations > Can I use daemon for wsgi with runserver, or I should > install mod_wsgi? You have to install mod_wsgi (or use some other HTTP server than Apache,

Re: Is there anything like 'static' templates

2012-06-09 Thread Hendrik Speidel
Hi, have a look at django-staticgenerator. The original URL is no longer valid, but there is a fork here (but also quite old): https://github.com/timetric/django-staticgenerator* *i hope that helps * *hendrik * *On 06/09/2012 04:06 PM, Gelonida N wrote: Hi, This is mostly out of

Re: What the difference of django 1.4 runserver with mod_wsgi?

2012-06-09 Thread Hendrik Speidel
Hi, manage.py runserver is an embedded webserver for development and debugging purposes only. Do not use it in production! Use mod_wsgi, uwsgi, gunicorn or sth. for production. See: https://docs.djangoproject.com/en/dev/howto/deployment/ hendrik On 06/09/2012 05:18 PM, Raitucarp wrote:

What the difference of django 1.4 runserver with mod_wsgi?

2012-06-09 Thread Raitucarp
So, I was confused with manage.py runserver. Is it the same as mod_wsgi? Can I use daemon for wsgi with runserver, or I should install mod_wsgi? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Is there anything like 'static' templates

2012-06-09 Thread Gelonida N
Hi, This is mostly out of curiousity. Let's imagine a site containing mostly static HTML files. However due to laziness / ease of changing the overall sites layout and the option of using django compressor for the included .css .js files I wondered how I could use templates and still serve the

Fwd: Scammer / Job fraud rehash - Do NOT perform any business with Eike Post

2012-06-09 Thread Dr. Eike B. Post
Please delete the heading for this post: https://groups.google.com/forum/?fromgroups#!searchin/django-users/Eike$20/django-users/HYPxcrTRn5E/s-4nsLKLg2AJ The message has been deleted but the headings still shows up! The creator of the post does not repond to my emails. Google tells me that they

Re: Graphs for my Django Application

2012-06-09 Thread Tanveer Ali Sha
Thank You one and all..:) On Fri, Jun 8, 2012 at 11:14 PM, bobhaugen wrote: > http://d3js.org/ can handle both meanings of graphs: charts like bar > charts, or visualizations of network structures. > > > > > -- > You received this message