Re: Error building an sqlserver database

2007-04-04 Thread Sean De La Torre
Maurizio, Take a look at this patch: http://code.djangoproject.com/ticket/2358 Sql Server will not work unless the patch is applied. Sean On 4/4/07, maurizio <[EMAIL PROTECTED]> wrote: > > > I succesfully managed to build an sqlite 3 db, now i'm trying to buil > an sql server db. > Issuing the

Re: Template filter to retrieve the MEDIA_URL

2007-03-03 Thread Sean De La Torre
Thanks for the link SimpleMan. I lost the link and couldn't remember where I first viewed that example. On 3/3/07, SimpleMan <[EMAIL PROTECTED]> wrote: > > > Here's a write-up on doing this with a context processor: > > http://www.b-list.org/weblog/2006/06/14/django-tips-template-context-processo

Re: Template filter to retrieve the MEDIA_URL

2007-03-02 Thread Sean De La Torre
Henry, I do the same thing in my project. There are a couple of ways you can use to expose the media url. If you won't be using the it very often, you can do the following: from django.shortcuts import render_to_response from django.conf import settings def example(request): return render_

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
erver 2000 doesn't have that, at least > Oracle has ROWNUM...! Thanks for the clarification though :) > > Mike > > On 3/1/2007, "Sean De La Torre" <[EMAIL PROTECTED]> wrote: > > >Mike, > > > >Sorry for the confusion. The generic paginated view

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
hat a solution that accommodates both has to be created. Thanks, Sean On 3/1/07, Mike H <[EMAIL PROTECTED]> wrote: > > > > On 3/1/2007, "Sean De La Torre" <[EMAIL PROTECTED]> wrote: > >With the exception of dataset paging, it is feature complete and stable

Re: About to defect, need MS SQL Server patch for 0.96pre or 0.95

2007-03-01 Thread Sean De La Torre
Take a look here for a MS SQL patch: http://code.djangoproject.com/ticket/2358 With the exception of dataset paging, it is feature complete and stable. It is working with the latest SVN release, and it will also work with version .95. Sean On 3/1/07, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > >

Re: Re[2]: Upcoming Django release, and the future

2007-02-26 Thread Sean De La Torre
>> That's too bad. I have the patches in #2358, at least, to keep me >> going for now, which is good. Check the status on 2358 - it was recently accepted. I don't know when it will be applied, but it seems like they are actively looking at ti. Sean On 2/26/07, Andrew Diederich <[EMAIL PROTECTE

Re: apach/mod_python IE content-disposition weirdness

2007-02-06 Thread Sean De La Torre
I reintroduced the Vary header with a value of 'User-Agent' under HTTP 1.1, and it works fine. So, in summary, using HTTP 1.1 with a Vary header of 'Cookie' for other content types like 'application/vnd.ms-excel' is bad for IE. Sean Now I just have to figure out how

apach/mod_python IE content-disposition weirdness

2007-02-06 Thread Sean De La Torre
Platform: Django 0.95, Win XP & 2003, Apache 2.2/mod_python 3.2.10 I'm running into an issue when returning data to Internet Explorer that has a content type other than text/html. More specifically, I'm returning data in an html table format recognized by excel (content- type: application/vnd.ms

Re: inspectdb support for ado_mssql?

2007-01-24 Thread Sean De La Torre
Look at this ticket: http://code.djangoproject.com/ticket/2358. More specifically, use the mssql_update5.difffile - I'm don't think the anonymously contributed patch after that actually does much. I haven't updated it to the

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
I'm glad it worked! Let me know if you run into any other issues. The more people that look at this patch, the better. The one known gap in functionality is paging support, but everything else should work. On 10/26/06, abc123 <[EMAIL PROTECTED]> wrote: > > Hi Sean, > > Enthused by your response

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
or your replies. By the way, which version of Django are you using? Thanks, Sean On 10/26/06, abc123 <[EMAIL PROTECTED]> wrote: > > Sean De La Torre wrote: > > Can you post the entire traceback? I don't see this behavior with SQL > > Server 2000 or MSDE. I may have to

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
wrote: > > Looks like both abc123 and myself are experiencing the same problem > (at least one of them). Since I'm running MSSQL2000, wouldn't this > rule out MSSQL2005 being the problem? > > Carlos > > On 10/26/06, abc123 <[EMAIL PROTECTED]> wrote: >

Re: ado_mssql introspection patch

2006-10-26 Thread Sean De La Torre
Carlos, This error, "Error: 'inspectdb' isn't supported for the currently selected database backend.", is usually thrown when the patch hasn't been applied correctly. Otherwise, you'd see a different error. Look at your \django\db\backends\ado_mssql\intropspection.py file. Does the logic in th

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
Can you post the entire traceback? I don't see this behavior with SQL Server 2000 or MSDE. I may have to get a copy of SQL Server 2005. I'll also try using the latest Django version from the trunk - my production installation is the current official Django release (0.95) modified with the patch

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
ossed my mind, when i'm already at home and rested > ;-) Thanks a million, > > Carlos > > On 10/25/06, Sean De La Torre <[EMAIL PROTECTED]> wrote: > > Take a look at this ticket: http://code.djangoproject.com/ticket/2358. > > > > I combined that prev

Re: ado_mssql introspection patch

2006-10-25 Thread Sean De La Torre
e let me know. On 10/25/06, Sean De La Torre <[EMAIL PROTECTED]> wrote: > Take a look at this ticket: http://code.djangoproject.com/ticket/2358. > > I combined that previous patch (2563) with 2358 because my patch was > dependent on it. Make sure that you've applied the latest

Re: ado_mssql introspection patch

2006-08-26 Thread Sean De La Torre
Sorry for the double-post :)On 8/25/06, Sean De La Torre <[EMAIL PROTECTED]> wrote: I've posted a patch that adds full introspection functionality forado_mssql backends (http://code.djangoproject.com/ticket/2563).  I'dappreciate it if those of you who run Django/mssql could test i

ado_mssql introspection patch

2006-08-26 Thread Sean De La Torre
I've posted a patch that adds full introspection functionality for ado_mssql backends (http://code.djangoproject.com/ticket/2563). I'd appreciate it if those of you who run Django/mssql could test it out and let me know if any problems are found. Thanks, Sean * Note: the patch relies on the ch

ado_mssql introspection patch

2006-08-26 Thread Sean De La Torre
I've completed a patch* (http://code.djangoproject.com/ticket/2563) for ado_mssql database introspection. I'd appreciate it if those few of you out there who use Djagno/mssql could test it out and provide some feedback. Thanks, Sean * The patch depends on the changes in http://code.djangoproje