Am Sonntag, 6. Januar 2008 13:04:38 schrieb Brot:
> I have a few models which have the same two fields. Based on these
> fields there is always the same function in these models. But this
> violates DRY. Is there another possibility for my function/models
>
> [...]
>
> Model Inheritance isn't supp
hi,
Am Dienstag, 19. September 2006 01:41 schrieb frank:
> This will probably show my incredible lack of understanding regarding
> web
> servers vs. django once more, but...
>
> Is there a reasonably simple and transparent (to the user) way of
> counting downloads? Sure, I could create a downloa
hi,
Am Dienstag, 19. September 2006 07:28 schrieb zhongke chen:
> Thanks! i solve this by removing libmhash package. but it's only a
> workaround solution. i expect to see a perfect one.
unfortunately, the problem seems to be somewhere within modpython which
somehow doesn't use the md5-module t
> I submitted http://code.djangoproject.org/ticket/2701 which provides a
> small patch to limit by field for the serializers module. Something
> like -- serializers.serialize('xml', stories, fields=('headline',
> 'name'))
excellent, definetely a "+1" from me!
--
cheers,
Nikl
--~--~---
hi,
try something like the following:
> {% if latest_posts %}
> {% for post in latest_posts %}
>
> {{ post.title }}
>
> publié le {{
> post.pub_date|date:"l d F Y à H
hi James,
> I'm running Ubuntu Edgy Eft, with the following versions (updated to
> the most recent available from apt-get)
> Apache/2.0.55 (Ubuntu) mod_python/3.2.8 Python/2.4.4c1 PHP/5.1.6
> mod_ssl/2.0.55 OpenSSL/0.9.8b
> and Django 0.95.
I'm running pretty much the same combo, but with
> Aha! Not sure why I didn't think of that, but a back and forth
> switching php modules on and off eventually led me to mhash.so -
> switching off that module solved all my woes.
ouch mhash again ... a couple of months ago that interfered with md5 for some
reason resulting in wrong digests, but
hi all,
for some (up to now) unknown reasons the generation of md5-hashes fails in
modpython (for me and at least one other user on irc). I discovered this bug
while switching a django-setup from the builtin dev-server to modpython: it
complained that I had tampered with the session cookies - w
I forgot to append this file...
--
cheers,
Nikl
--~--~-~--~~~---~--~~
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 t
> I've heard that the problem might be related to md5 hashing (someone
> just recently posted it here in the groups with the same error
> message). I looked at the django code and that where that error message
> is thrown and it seemed to confirm that, but I don't know why this
> happens.
simply t
Am Dienstag, 27. Juni 2006 19:25 schrieb [EMAIL PROTECTED]:
> Clear the cookies in your browser and the problem will go away.
unfortunately that won't solve this problem - possibly another one ;)
--
cheers,
Nikl
--~--~-~--~~~---~--~~
You received this mes
for anybody who's also experiencing this problem, Alain Tesio mentioned
another odd factor and its workaround on the modpy-mailinglist:
http://modpython.org/pipermail/mod_python/2006-July/021544.html
--
cheers,
Nikl
--~--~-~--~~~---~--~~
You rec
hi,
> but how can I find a user for a particular photo?
wanted_user = particular_photo.gallery.created
--
cheers,
Nikl
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
> >>> p.gallery_id.created_id
>
> Traceback (most recent call last):
> File "", line 1, in ?
> AttributeError: 'long' object has no attribute 'created_id'
>
> Where is a problem?
your photo object "p" has an attribute "gallery" which references a gallery
object (the one with id=p.gallery_id) an
Am Samstag, 15. Juli 2006 15:12 schrieb PythonistL:
> Not sure I fully understand.
> Can you please explain a little more?
>
> Do you mean that
> p.gallery.created
> should work( where p is my photo object)?
exactely - you might want to take a look at
http://www.djangoproject.com/documen
hi Gwilym,
> I am a newbie to Django, I am looking to move an application I have
> written in PHP a couple of years ago to Django and need to know if
> there is an easy way to generate a linked pulldown menu in a form.
>
> Previously I have used Javascript so if you select a category in one
> pul
16 matches
Mail list logo