Wouldn't it be useful to use that setting as a default for the date
filter, so you wouldn't need to specify a format every time?
I could write a patch..
On 15 Jul., 15:31, Arien <[EMAIL PROTECTED]> wrote:
> On Tue, Jul 15, 2008 at 8:14 AM, Adam Peacock <[EMAIL PROTECTED]> wrote:
>
> > I'm looking
ne an so on.. that has nothing to do
with how it sould execute SQL so I don't know why I should state any
SQL here.
On 2 Mai, 17:51, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Fri, May 2, 2008 at 11:11 AM, web-junkie <[EMAIL PROTECTED]> wrote:
>
> > On 1
That is what I do at the moment, putting it in a list in such an order
that it is reversed.
On 2 Mai, 19:58, "J. Cliff Dyer" <[EMAIL PROTECTED]> wrote:
> On Thu, 2008-05-01 at 09:36 -0700, web-junkie wrote:
> > Hi,
>
> > what is the newreverse() method
[:3]
> a.reverse()
>
> That would probably be my solution.
>
> -justin
>
>
>
>
>
> On Thu, May 1, 2008 at 12:36 PM, web-junkie <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > what is the new reverse() method good for? Seems it just swaps the
> >
Hi,
what is the new reverse() method good for? Seems it just swaps the
order_by statement?
I would appreciate a reverse() method that, if used after slicing,
would actually reverse the queryset.
In the docs it's said: "Django doesn’t support that mode of access
(slicing from the end), because it’
Hi,
why isn't whitespace automatically stripped from fields when using
modelforms? This would be convenient.
Is there a reason for not doing so, where is one supposed to do that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
That did it for me too, thanks!
On Jan 30, 3:29 pm, prz <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > That's the weird thing,
>
> > If we restart httpd.conf the python code will be compiled in some
> > cases it will show one of the projects for both ports and in a other
> > case it wi
I have kinda the same problem as of today. It just seems to not use
use the settings file I want.
Is there something wrong with having to exact same virtualhosts that
just differ in the specified django settings?
On Jan 30, 2:18 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hello Django Us
-developers/browse_thread/thread/f83eb95f35c9d9a
which should be the same issue. The fix was to upgrade mod_python (had
to switch from a stable to testing on my Debian).
So, yeah, should be fixed now. Weird issue.
On Oct 30, 9:51 am, web-junkie <[EMAIL PROTECTED]> wrote:
> Hi,
> I
Oh, and I'm running exactly one Django site on the server.
--~--~-~--~~~---~--~~
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
On Oct 30, 11:30 am, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> Are you using Apache prefork MPM or worker MPM? If worker, how many
> threads in each process? Also, what do you have for maximum number of
> child processes in Apache configuration. Finally, how many Django
> instances are you hos
Hi,
I have a weird problem where I think memcached or caching in general
might be the cause. I discovered it during testing the site with
http_load. After a certain amount of fetches, or hits, to the server,
the site does not respond normally. It takes 30 seconds or so. Strange
thing is: Only for
We are running a production site with trunk. No problems so far. Just
watch any updates and update regularly.
On Oct 23, 5:00 pm, ydjango <[EMAIL PROTECTED]> wrote:
> I am working on product which will be released end of february. I am
> planning to use Django for building the site. I am new to D
Did you activate the cache in Django? I once discovered an issue with
that..
--~--~-~--~~~---~--~~
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
T
Hi,
I have a m2m relationship from books to authors. A book can have 0-n
authors (yes, don't ask why there can be no authors). If I want to do
a search where I it should match the title or authors, I just gives me
books that have an author. Not the other matches. See here for the
code:
http://dp
Okay, I did that.
http://code.djangoproject.com/ticket/5308
On Aug 14, 11:09 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-08-10 at 05:05 -0700, web-junkie wrote:
> > Okay, after further investigation the error appears for me too, not
> > just googlebot. W
Okay, after further investigation the error appears for me too, not
just googlebot. When I browse the site as anonymous user and click a
link with encoded Unicode in URL, and if that links needs login, I get
an error.
Seems to be a bug in the checklogin decorator.
On Aug 8, 3:34 pm, web-junkie
Hi,
I get that error emailed, apparently Google tries to crawl pages that
need a login. Now when there's Unicode in the URL this error is
raised.
Can anyone tell me why I get this error? It's really just Google's
crawl, when I surf the site everything works fine.
Traceback (most recent call last
On Jul 6, 4:44 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-07-06 at 07:25 -0700, web-junkie wrote:
> > Thanks for your reply. I'll give more information:
>
> > # c:\django_src\django\core\handlers\base.py in get_response
>
>
assed to the feed object from request.path
On Jul 6, 4:00 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Fri, 2007-07-06 at 06:51 -0700, web-junkie wrote:
> > Hi, I have a problem of getting my feeds to work with unicode URLs.
>
> > File "/usr/local/lib/pytho
Hi, I have a problem of getting my feeds to work with unicode URLs.
File "/usr/local/lib/python2.4/site-packages/django/contrib/
syndication/feeds.py", line 12, in add_domain
url = u'http://%s%s' % (domain, url)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position
19: ordinal
okay, seems this ensure_ascii=False is useless, without it there's no
error.
On 5 Jul., 14:13, web-junkie <[EMAIL PROTECTED]> wrote:
> Hi,
>
> after updating to the trunk with the merged Unicode branch I get
> errors for my json pages. Everything is normal until I reque
Hi,
after updating to the trunk with the merged Unicode branch I get
errors for my json pages. Everything is normal until I request
something where it would serialize data with foreign language letters
which comes as Unicode from the database.
And as far as I can tell I have done everything it sa
Sorry for being a littly bit offensive.
Thanks for your replies and for commiting the patches, works like a
charm now.
On Jun 1, 3:44 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 6/1/07, web-junkie <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi
Hi
how can I get JSON out of my Django object without having certain
fields in there for obvious reasons?
I found solutions like serializers.serialize("json",
Something.objects.all(), fields='myfield' )
which do not work, there's also a ticket on that
http://code.djangoproject.com/ticket/3466
Why
25 matches
Mail list logo