Re: Security questions

2006-08-13 Thread Jakub Labath
Hi, Thanks everybody for the info. James, thanks for the effort to still support the 0.91 branch, It's much appreciated. Best jakub --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Security questions

2006-08-13 Thread Jakub Labath
Hi, At the company I work for most of the sites run django and I have been pushing hard for it's adoption, while facing a lot of adversity from all kinds of camps most notably the .NET and java. I have already proven that django/python is enterprise ready, faster to develop in, and performs extr

Re: Detect SSL/HTTPS

2006-05-05 Thread Jakub Labath
if request.META['HTTPS'] == 'on': django.conf.settings.MEDIA_URL = django.conf.settings.HTTPS_MEDIA_URL return None Is this a good way to go about this? Any thoughts? Thanks jakub On 5/5/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > >

Re: Detect SSL/HTTPS

2006-05-05 Thread Jakub Labath
27;] return self._meta def _get_raw_post_data(self): Is this a good/bad idea? Any thoughts? Let me know if you guys find it useful I can add a patch to trac. Best Regards jakub On 5/5/06, Jakub Labath <[EMAIL PROTECTED]> wrote: > Hi, > > I have web server that i

Re: Detect SSL/HTTPS

2006-05-05 Thread Jakub Labath
Hi Steven, Thanks but I don't seem to have the 'wsgi.url_scheme' available in my request.META could it be becuase I'm using apache and mod_python? On 5/5/06, Steven Armstrong <[EMAIL PROTECTED]> wrote: > > On 05/05/06 19:33, Jakub Labath wrote: > > Hi, >

Re: Detect SSL/HTTPS

2006-05-05 Thread Jakub Labath
().replace('-', '_') self._meta[key] = value +if 'HTTPS' in self._req.subprocess_env: +self._meta['HTTPS'] = self._req.subprocess_env['HTTPS'] return self._meta def _get_raw_post_data(self): On 5/5/06, Jakub Lab

Re: deleting an image

2006-03-13 Thread Jakub Labath
Hi, My first attempt at #22 is in trac. http://code.djangoproject.com/ticket/22 It's just a quick thing that I needed. But I will welcome suggestions and ideas how to make this better. Best Regards On 3/12/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > never go round to it - havent even st

Re: MS SQL date vs. datetime problem

2005-11-11 Thread Jakub Labath
Hi, On 11/11/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > The ado_mssql backend, which uses adodbapi, does indeed convert > dates/times to Python datetime objects. Can you give it a shot and see > how well the driver works? Progress has stopped on testing the > ado_mssql backend, and I'd like

Re: MS SQL date vs. datetime problem

2005-11-10 Thread Jakub Labath
Hi, I finally got around to look into this further. Here is Adrian's advice. On 10/22/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > What you need to do is make sure the driver typecasts datetime > database fields to Python datetime.date objects, and date database > fields to Python datetime.d

Re: Small report from Django/Rails meetup

2005-11-08 Thread Jakub Labath
On 11/8/05, Eric Walstad <[EMAIL PROTECTED]> wrote: > > On Tuesday 08 November 2005 08:35, Jacob Kaplan-Moss wrote: > > I think we need to bite our lips, suck it up, and release a 1.0 > > version. > > +1 > > A "stable" release would make those who are trusting my judgement in > choosing Django for

Re: MS SQL date vs. datetime problem

2005-10-22 Thread Jakub Labath
On 10/22/05, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > What you need to do is make sure the driver typecasts datetime > database fields to Python datetime.date objects, and date database > fields to Python datetime.date objects. Some database drivers do this > automatically, but others provid

Re: MS SQL date vs. datetime problem

2005-10-22 Thread Jakub Labath
Hi > > But DateTime objects can be used to represent both; you just have a > DateTime object with no time values. Yes true, but it creates an error when running unittests, and I'm assuming the tests are in place for a reason. Best jakub

MS SQL date vs. datetime problem

2005-10-21 Thread Jakub Labath
Hi As mentioned, I'm working on Microsoft SQL back end using pymssql. It's going OK and I'm down to 12 errors in runtests.py. But I hit a problem I could use some help with. best shown by code my model in dateapp is # Create your models here. class MyDate(meta.Model): day=meta.DateField()

Re: Added MS SQL Server DB support: Testers wanted!

2005-10-17 Thread Jakub Labath
Hi, this is a great news and I may be able to help with some stuff. I do have access and I was able to test it. the patch from [EMAIL PROTECTED] is fine however bit out of date though. For example it's lacking get_table_list which then makes either unittests or django-admin init crash almost ri