Doug Van Horn wrote:
> I wrote a little Middleware class to strip trailing and leading
> whitespace from a response:
I may be misunderstanding something, but doesn't your middleware
actually leave whitespace at the beginning and end of the response?
If response.content = '\n\n\nHello.\n\n' it is
The intent is primarily to remove extra non-meaningful lines and
indents from the response. As an example:
{% for foo in foo_list %}
{{ foo }}
{% endfor %}
yields before middleware:
biz
baz
buz
and after middleware:
biz
baz
buz
It's nothing special, and if I've m
This patch (http://code.djangoproject.com/ticket/2461) adds support
for, e.g.,
$ python manage.py runserver 192.168.1.150 ## if no port, then 8000
is assumed
[...]
$ python manage.py runserver 2552 ## if no IP address, then 127.0.0.1
is assumed
[...]
$ python manage.py runserver 192.168.1
This patch (http://code.djangoproject.com/ticket/2461) adds support
for, e.g.,
$ python manage.py runserver 192.168.1.150 ## if no port, then 8000
is assumed
[...]
$ python manage.py runserver 2552 ## if no IP address, then 127.0.0.1
is assumed
[...]
$ python manage.py runserver 192.168.1.1
I think I've found a bug when doing | (__or__) on QuerySets when or'ing
with a QuerySet that filtered on a ManyToManyField. For example:
The Model (Ticket):
shortdesc = models.CharField(maxlength=255)
desc = models.TextField()
users = models.ManyToManyField(django.contrib.auth.models.User)
There'
Hi Scott,
On Mon, 2006-07-31 at 16:54 -0700, Scott Paul Robertson wrote:
> I think I've found a bug when doing | (__or__) on QuerySets when or'ing
> with a QuerySet that filtered on a ManyToManyField. For example:
>
> The Model (Ticket):
> shortdesc = models.CharField(maxlength=255)
> desc = mod
seems a bug of admin delete funciton. when a model has a many-to-many
relationship, you have to has the change permission of your m2m related
model even the object's m2m field is empty.
in admin/view/main.py, _get_deleted_objects(),
rel_objs is always true, seems it should be below:
I meet the same error these day, have any solution now?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscri
Hi Kilian,
On Thu, 2006-07-27 at 22:40 +0200, Kilian CAVALOTTI wrote:
> On Thursday 27 July 2006 18:48, Malcolm Tredinnick wrote:
> > Aargh! Can you make a ticket with these details so that we don't lose
> > them, please (I have flagged this email to look at later, too).
>
> Sure. It's done as
Honestly, it just came off in my hand. I didn't do it. :-(
When I try to log into Trac at the moment, I get a 500 error. Can
somebody with access to the system have a look, please.
Thanks,
Malcolm
--~--~-~--~~~---~--~~
You received this message because you are s
10 matches
Mail list logo