Hello!
I'm looking for help from someone who is familiar with how FastCGI works.
I'm using well-known flup's FastCGI server. The app serves large files
(mp3 albums, 100 MB typically) that users download with download
managers that often drop connections on client side and start new ones.
The
Adrian Holovaty wrote:
> On 6/17/06, James Bennett <[EMAIL PROTECTED]> wrote:
>> I'm not convinced that it'd be a good thing to have request.POST
>> evaluate to True in these cases, but the reasoning is somewhat
>> pedantic.
>>
>> First and foremost, there's a logical difference between the reques
Luke Plant wrote:
>
> Long version:
> request.POST is (essentially) a dictionary of post variables. As such,
> if it is empty, it evaluates to False, even if the request method is
> 'POST'.
That's a bug, imo.
cheers
Bill
--~--~-~--~~~---~--~~
You received th
Bill de hÓra wrote:
> Luke Plant wrote:
>> Long version:
>> request.POST is (essentially) a dictionary of post variables. As such,
>> if it is empty, it evaluates to False, even if the request method is
>> 'POST'.
>
> That's a bug, imo.
Never mind - request.META["REQUEST_METHOD"] is news to
I have to agree that it should return false if there is no data.
Otherwise how are you going to tell the difference between a POST
with no data and a POST with data.
Another alternative is maybe request.method.POST and
request.method.GET for testing the method.
On 18/06/2006, at 9:20 PM, B
On 16/06/06, Don Arbow <[EMAIL PROTECTED]> wrote:
>
> On Jun 16, 2006, at 2:02 PM, Tyson Tate wrote:
>
> >
> > Starting with the latest SVN, a fresh DB, and the following Model:
> >
> > http://django.pastebin.com/713796
> >
> > I get a "tuple' object has no attribute 'get'" error whenever I try
>
Hi everyone:
I knew about Django recently, and there is a great CMS---Ellinton .
But unfortunatly, it's not opensource. This type of CMS is what i am
looking for.
Is there another cms like Ellinton? thanks for reading and reply
--~--~-~--~~~---~--~~
You re
On 16/06/06, Filipe <[EMAIL PROTECTED]> wrote:
*snip*
> What IDEs are Django developers using out there?
Embarrassingly, I'm using Bluefish. Bluefish is a syntax editor with
broken highlighting. I use it mainly because I've never found the need
for anything more complicated. In general I find it
try the django admin-interface:
http://www.djangoproject.com/documentation/tutorial2/
patrick
Am 18.06.2006 um 14:16 schrieb rockone:
>
> Hi everyone:
>I knew about Django recently, and there is a great CMS---Ellinton .
> But unfortunatly, it's not opensource. This type of CMS is what i am
A quick look around reveals
http://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/CmsProject.
It's nowhere as good as Ellington but Ellington is a for rich media
companies. If you're a rich media company, buy it, otherwise you
probably don't need anything near the functionality it uses.
(by
hi,
i wrote a simple inclusion_tag that's supposed to fetch some data from
on of my apps models.
code looks like:
#myproject/myapp/templatetags/mytesttags.py
from django import template
register = template.Library()
def mytest():
from myproject.myapp.models import xyz
return { 'test': x
Hello,
I am working on a cms that would involve several sites. I am wanting
to filter several things by site, but the domain names are sometimes
too long and run off the side of the filter box. I was wondering if it
would break anything if I canged the site framework to return the
display name i
what are you want to say?
On 6/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hello,
> I am working on a cms that would involve several sites. I am wanting
> to filter several things by site, but the domain names are sometimes
> too long and run off the side of the filter box. I was wo
I was wondering if it would break anything if I canged the site
framework to return the
display name instead of the domain name.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
On Jun 18, 2006, at 5:11 AM, Frankie Robertson wrote:
>
> One of the nice things about python is that trailing commas are
> completely legal.
Yes, but this was not a trailing comma within the tuple, but at the
end of the statement. Legal or not, I have never seen this (except,
in the prin
On Jun 18, 2006, at 8:08 AM, [EMAIL PROTECTED] wrote:
>
> I was wondering if it would break anything if I canged the site
> framework to return the
> display name instead of the domain name.
Do you mean in __str__? That is for display purposes only so it
should not hurt to have it return a d
Hi everyone:
I knew about Django recently, and there is a great CMS---Ellinton .
But unfortunatly, it's not opensource. This type of CMS is what i am
looking for.
Is there another cms like Ellinton? thanks for reading and reply
--~--~-~--~~~---~--~~
You re
On 6/18/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> I am working on a cms that would involve several sites. I am wanting
> to filter several things by site, but the domain names are sometimes
> too long and run off the side of the filter box. I was wondering if it
> would break anything i
Hello Eugene Lazutkin!
On Sat, 17 Jun 2006 13:44:12 -0500 you wrote:
> I don't use Bluehost, but I think the setup will be similar to Django
> on DreamHost, which supports FastCGI only. "Official" DreamHost Wiki:
> http://wiki.dreamhost.com/index.php/Django. Jeff Croft wrote an
> excellent how-
In your listing line 24 is not aligned properly.
--~--~-~--~~~---~--~~
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 grou
Grigory Fateyev wrote:
>
> Somebody use FastCGI on your own server? Can you help me how to setup
> this?
Unfortunately I don't use FastCGI on my own servers. If you looking for
how to set up Apache with mod_fastcgi, I am the wrong guy.
Thanks,
Eugene
--~--~-~--~~~---
The following is used mainly as an example for something I've been
wondering about.
Say I'm a blog host and want to use django. I need all my views to
know which blog (so as to know what information to get) they're using.
I also need all my templates to have access to the blog object (so
they can
> try the django admin-interface:
> http://www.djangoproject.com/documentation/tutorial2/
and flatpages:
http://www.djangoproject.com/documentation/flatpages/
...and other nice apps from contrib (:
--~--~-~--~~~---~--~~
You received this message because you are su
I agree, the docs are better than many, but still aren't where they
need to be at the moment. Thanks for your contribution, I hope you
keep them coming!
--Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djan
Ivan Sagalaev wrote:
> I'm using well-known flup's FastCGI server. The app serves large files
> (mp3 albums, 100 MB typically) that users download with download
> managers that often drop connections on client side and start new ones.
> The strange thing is that when a client drops connection f
Grigory Fateyev wrote:
> Somebody use FastCGI on your own server?
I do. I have mostly done it using this instruction:
https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoFcgi
> Can you help me how to setup this?
>
You can contact me personally if that instruction will not suffic
This can be a bug, or I'm doing something terrible wrong...
This is how my model looks like:
class Score(models.Model):
. . .
class Round(models.Model):
. . .
class Game(models.Model):
round = models.ForeignKey(Round)
. . .
def save(self):
Hello,
I've created an app with some models and I want to make foreign keys to
those models in another app. I can do something like this:
from myproject.apps.some_app import SomeModel
but then my project name is hard coded into that app. Is there some
way to generically reference the current
On Jun 18, 2006, at 2:03 PM, berto wrote:
>
> Hello,
>
> I've created an app with some models and I want to make foreign
> keys to
> those models in another app. I can do something like this:
>
> from myproject.apps.some_app import SomeModel
>
> but then my project name is hard coded into that
I get this error: len() of unsized object
while doing nested for loops in the template:
{% for entry in object_list %}
{% for category in entry.categories %}
{{ category.name }}
{% endfor %}
{{ entry.get_absolute_url }}
{% endfor %}
entry.categries is ManyToManyField
If i remo
Adam Hoscilo wrote:
> I get this error: len() of unsized object
> while doing nested for loops in the template:
> {% for entry in object_list %}
> {% for category in entry.categories %}
> {{ category.name }}
> {% endfor %}
> {{ entry.get_absolute_url }}
> {% endfor %}
>
> entr
Awesome, thanks! Here's the relevant bit for anyone else that stumbles
upon this entry:
from django.db.models.loading import get_app
desired_app = get_app('desired_app')
from desired_app.models import SomeModel
--~--~-~--~~~---~--~~
You received this message bec
On Sun, 2006-06-18 at 19:46 +0100, Frankie Robertson wrote:
> The following is used mainly as an example for something I've been
> wondering about.
>
> Say I'm a blog host and want to use django. I need all my views to
> know which blog (so as to know what information to get) they're using.
> I a
On 6/19/06, Frankie Robertson <[EMAIL PROTECTED]> wrote:
>
> The following is used mainly as an example for something I've been
> wondering about.
>
> Say I'm a blog host and want to use django. I need all my views to
> know which blog (so as to know what information to get) they're using.
> I als
On 6/19/06, berto <[EMAIL PROTECTED]> wrote:
>
> Awesome, thanks! Here's the relevant bit for anyone else that stumbles
> upon this entry:
>
> from django.db.models.loading import get_app
> desired_app = get_app('desired_app')
> from desired_app.models import SomeModel
>
good, and you can also:
Seekpire earn money searching
Earn $0.01 for each search !!!
How can I make money searching?
Want to make easy money? Well this is how. Seekpire pays you to search!
For each
search that you do you get 1 cent. This may not seem like much. But
think of all
the times you search a day! If you use t
Well
another site about asia comic and adult magazine
Asia comic Such as:
Budha Palm (last volume 085),
Twins (last volume 177),
Long hu men (last volume 313),
Dragon of tang dynasty (last volume 252)
the saint
etc etc
Adut magazine such as:
Playboy,
xxx,
etc,etc
You can find them and downlo
37 matches
Mail list logo