Hi Javier,
2011/4/27 Javier Guerra Giraldez
> On Wed, Apr 27, 2011 at 10:48 AM, Oliver Andrich
> wrote:
> > So, I was looking into possible solutions. As you can't download anything
> > via ajax directly, you have to trick the browser into caching it and then
> >
Hi,
2011/4/27 christian.posta
> You're trying to cache a pdf file/attachment? why? What's the purpose
> of trying to do it that way? Why don't you just send it to the client
when they ask for it?
>
Well, basically the reason is, that I want to show a progress dialog or
"meanwhile" dialog to th
Hi,
I have a problem getting the browser to cache the data returned by my view.
The basic idea behind this is, I want to download the data via ajax to
provide a progress dialog and afterwards I set document.location.href to the
same url and use the cached data. last_modified sets the last modified
Hi,
currently I am moving my django project towards Django 1.2. During
that step I want to replace code like that
query_set = query_set.extra(select = {
'image_count': '''SELECT COUNT(*) FROM image
WHERE topic.id =
image.topic_id
Hi,
I want to add an require_XHR decorator to my project. The implementation is
pretty straightforward.
def require_XHR(f):
@wraps(f)
def wrapper(request, *args, **kwargs):
if not request.is_ajax():
return HttpResponseBadRequest()
return f(request, *args, **kwa
Well, it seems to happen, when the post_syncdb signal code from
django.contrib.auth is called. Somehow calling the code from ./manage.py
test differes from ./manage.py flush. I think I will reproduce this in a
minimal django project and try file a bug report.
Best regards,
Oliver
--
Oliver
so have to note, that DocumentTests includes 3 tests - the first
always works while the later two always fail. But it is not depend on the
test itself, but simply on the order of the tests in the test case.
Bye, Oliver
--
Oliver Andrich <[EMAIL PROTECTED]> --- http://o
In sqlite3 this works like a
charm. Can anybody drop me a helpful tip? The app itself works like
expected, but I would appreciate to have working testcode. :)
Best regards,
Oliver
--
Oliver Andrich <[EMAIL PROTECTED]> --- http://oliverandrich.net/
--~--~-~--~~~
Hi,
I have currently the desire to use the logging support from the admin
app in my own app. This step is solved. But how does the app
accomplish the task to determine which fields have changed on the
given instance. Is there an easy way to achieve that in my own app?
Best regards,
Oliver
Hi Luke,
I have tried this in an asset management system I am currently
implementing for my company, which is ment to store a lots of images
(round about 300.000+). Generally it is a very bad idea, at least this
is what I have found. I ignored this article
http://mysqldump.azundris.com/arc
also create the view myself. Is there a way
to select the years with entries from the database using the ORM? I can of
course use SQL, but I want to stick to the ORM and I want to learn a little
more about it, besides the basics I have used so far.
Best regards, Oliver
--
Oliver Andrich <[EM
ny of the existing toolkits. And I would be very
sad, if someday this would change. I prefer jQuery as the Toolkit of
choice, but others Mochikit and Dojo. So, for me it is a feature of
Django to not have an integrated magic Web 2.0 toolkit.
Best regards,
Oliver
--
Oliver Andrich <[EMAIL PROTE
On 9/20/06, James Bennett <[EMAIL PROTECTED]> wrote:
On 9/20/06, Oliver Andrich <[EMAIL PROTECTED]> wrote:> For your own development environment this is more then okay in my> eyes. And I would even deploy with this small change. But this is
> personal taste. :)Probably the be
e
For your own development environment this is more then okay in my
eyes. And I would even deploy with this small change. But this is
personal taste. :)
Best regards,
Oliver
--
Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/
--~--~-~--~~~---~--~-
int, that it is
not working. Can you elaborate a little bit on this?
Best regards,
Oliver
--
Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dj
e
for MySQLdb.
Afterwards the install of Django worked fine and without errors.
And for pysqlite, I think you can just stick to Python 2.5. It
includes the relevant library. May be a small patch to the Django
sqlite backend is required, but this is something I have to check
later.
Hope that h
Hi,
I am running Django 0.95 . And so far I can't see any problems.
Best regards,
Oliver
--
Oliver Andrich <[EMAIL PROTECTED]> --- http://roughbook.de/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
17 matches
Mail list logo