Admin: Add new dataset with a pre-selected foreign key?

2013-08-30 Thread Katja
; page (http://MYSERVER/admin/statuslog/statuslog/add/) with the sample already preselected, so I don't have to go through the whole list? Any ideas? Thanks! Katja -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: EmailMessage and TSL - problems?

2009-09-01 Thread Katja
Ooops, sorry - I used port 587, port 465 was only my last try before I posted the message, so I copied the wrong part ... It also does not work with 587. 587 works with send_mail (but not on the Win server with Django 1.0.2) but not with the EmailMessage object. --~--~-~--~~-

EmailMessage and TSL - problems?

2009-09-01 Thread Katja
y successful. It worked fine with the send_mail function on two of our machines (Linux, Django 1.0.2 and Win Django 1.0), but not on a third (Win, Django 1.0.2 again). It also works with a different mailserver and EMAIL_USE_TLS = False. Any ideas? Thanks a lot, Katja --~--~-~--~~---

Display pictures located in MEDIA_ROOT ?

2009-08-14 Thread Katja
Hello, I am storing some images in my MEDIA_ROOT and have now the problem that I am not exactly sure how I can use them on webpages later on. settings.py MEDIA_ROOT = '/data/zooscan/' MEDIA_URL = 'http://MYSERVER/mediafiles/' In apache2.conf I added the following: SetHandler None

Re: X-Sendfile

2009-03-02 Thread Katja L.
OK, I found the error ... Our student worker forgot to enable xsendfile ;). Thanks! Katja --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

X-Sendfile

2009-03-02 Thread Katja L.
dialogue but the file I download is empty ... mod_xsendfile is installed and SHOULD work properly (don't know how to test it besides using this method :-P.) Does anyone have an idea why I get an empty file? Thanks! Katja --~--~-~--~~~---~--~~ You received this

Re: Static file serve with prior authentication?

2009-02-23 Thread Katja Loeffler
> You don't really want use django.views.static.serve in the real world OK ;). > http://docs.djangoproject.com/en/dev/howto/apache-auth/ Thanks! I'll have a look. Katja --~--~-~--~~~---~--~~ You received this message because you are subscrib

Static file serve with prior authentication?

2009-02-23 Thread Katja Loeffler
ected" since they can make the link public once they have it and everyone can download without prior login. I have used: (r'^site_media/(?P.*)$', 'django.views.static.serve', {'document_root': '/path/to/media'}) Thanks! Katja --~--~-~

Search functionality over the DB

2008-10-16 Thread Katja L.
y about complex lookups with Q objects, very shortly about sphinx, and googled here and there but did not find a (for me) obvious solution. Thanks a lot! Katja --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Query over multivalue relationships

2008-10-15 Thread Katja L.
_by('dataset_id_nr') Now the query works. Katja --~--~-~--~~~---~--~~ 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 unsu

Re: Query over multivalue relationships

2008-10-15 Thread Katja L.
nding_temporal_coverage_date' not permitted." Thanks again! Katja --~--~-~--~~~---~--~~ 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.c

Re: App with time zones

2008-10-15 Thread Katja Loeffler
nversions. http://pytz.sourceforge.net/ Maybe that helps? Regards, Katja --~--~-~--~~~---~--~~ 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 unsubscr

Query over multivalue relationships

2008-10-15 Thread Katja Loeffler
Hi, I am relatively new to Django and I have a small problem making a query over the following Models ... class GeographicTemporalCoverage(models.Model): beginning_temporal_coverage_date = models.DateField() ending_temporal_coverage_date = models.DateField() class Coverage(models

Re: i18n blocktrans

2007-09-07 Thread Katja Süss
Yes, sorry. Now I see. {% blocktrans with value|filter as myvar %} This will have {{ myvar }} inside. {% endblocktrans %} That makes sense, definitly. Thanks a lot! Katja Malcolm Tredinnick schrieb: > On Fri, 2007-09-07 at 00:07 -0700, ksuess wrote: >> http://code.djangoproject.com/ti