Re: PyISAPIe + 0.91: some backporting help required...

2006-08-17 Thread Scott Finnie
Two reasons, one (I think) decent: 1. App is currently written to 0.91 and I want to get some feedback (that's the indecent answer) 2. My model makes extensive use of subtyping which isn't supported in 0.95 (hopefully the decent one...) Jeremy Dunck wrote: > On 8/17/06, Scott Finnie <

PyISAPIe + 0.91: some backporting help required...

2006-08-17 Thread Scott Finnie
Hello all, Trying to get above sorted to run django with IIS (per http://code.djangoproject.com/wiki/DjangoOnWindowsWithIISAndSQLServer). However, the interface module (pyisapie.py) is written to post-MR refactored APIs; would be grateful for a pointer on where they were located in 0.91.

Re: javascript options

2006-08-15 Thread Scott Anderson
at was probably the most annoying "feature" of Prototype. Array, Function, and String are still extended, but in practice I don't find those nearly as problematic. Regards, -scott --~--~-~--~~~---~--~~ You received this message because you are subscr

Re: Django neophyte question.

2006-08-14 Thread Scott Anderson
Gloria, Try: python manage.py runserver dev.blah.server.com: or python manage.py runserver 11.22.33.44: where 11.22.33.44 is the external numeric IP address of dev.blah.server.com. Regards, -scott On Mon, 2006-08-14 at 20:11 -0700, Gloria wrote: > Hi. I am a Python geek who

Re: Http authentication and the multiple auth backend model.

2006-08-09 Thread Scott Paul Robertson
. There are some security issues with this method, but I basically used the same method trac uses to authenticate with apache. The code is at: http://spr.mahonri5.net/2006/06/29/django-with-http-authentication/ I wouldn't use this code directly, but it should give you a starting point. Scott -- Scott

How to get django to show me the sql it executed recently?

2006-07-17 Thread Scott Chapman
I recall there's a way to do this but can't remember what it is. You could do something in the shell to get it. Please help my ailing memory! Scott p.s. Any chance this could be added to the Admin interface. It's the intuitive place for such things

Re: A few questions from a newbie.

2006-07-17 Thread Scott McCracken
Christian Wattengård wrote: > 1. What is this SLUG thingy in every sourcecode I read? In response to your first question, a "slug" is a term taken from the newspaper industry, but in this case it means the final part of your URL - a clean and easy was to access your page. If your blog post was

Re: debugging xmlhttprequest POST's is a PAIN! Need help.

2006-07-14 Thread Scott Chapman
Simon Willison wrote: > > On 14 Jul 2006, at 18:34, Scott Chapman wrote: > >> It's in an xmlhttprequest call so I never get to see the blow up, >> and it's a >> form POST so I can't simply call it with some command line parms in >> the >> browse

debugging xmlhttprequest POST's is a PAIN! Need help.

2006-07-14 Thread Scott Chapman
he 3 above - where's the docs on setting up a 500.html that I'll not need to see. Thanks! Scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

winpdb and django

2006-07-13 Thread Scott Chapman
) to load views.py so I might set a breakpoint there. Any clues? Scott --~--~-~--~~~---~--~~ 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@google

Re: Password Generator

2006-07-12 Thread Scott McCracken
Felix Ingram wrote: > I've put the above on the wiki > (http://code.djangoproject.com/wiki/AdminApplication) which is off the > common pitfalls page. Felix - many thanks for the great explination. This is exactly what I was looking for. --~--~-~--~~~---~--~~ You

Re: Password Generator

2006-07-11 Thread Scott McCracken
I also ran into this problem when trying to create new users in the Django admin interface. According to the Django documentation "We've added extra security to the stored passwords in Django's authentication system. Thanks to a patch from GomoX, passwords are now stored with a salt and use SHA-1

Any examples of AJAX (preferrably JSON) form validation using Django?

2006-07-04 Thread Scott Chapman
I'd love to see some good examples of form validation using AJAX and Django. Field-by-field AJAX(J) validation as well as final-submit validation (also could be done via AJAX(J)) examples are needed. TIA, Scott --~--~-~--~~~---~--~~ You received this message

Re: Simple Model Syntax Errors

2006-06-24 Thread Scott McCracken
Sorry, I didn't know this forum doesn't accept HTML in it's message bodies. Hopefully my message is still readable. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Simple Model Syntax Errors

2006-06-24 Thread Scott McCracken
This is my second time going through the http://www.djangoproject.com/documentation/tutorial1/;>Django tutorials. The first time I ran through the whole process on my dreamhost server without any errors. This time I'm using the local development server on my computer (Mac OS X v10.4.6 / Python

Re: how can I build this query?

2006-06-24 Thread Scott Anderson
Not a problem, Eric, glad to be of help. You could also do this: ContentType.objects.filter(app_label__exact='aiyo', model__in=('content', 'product')) which is more concise and may treat the query optimizer in your database better. Regards, -scott On Sat, 2006-06-24 at 17:00 +, nkeric

Re: how can I build this query?

2006-06-24 Thread Scott Anderson
Try: ContentType.objects.filter( (Q(app_label__exact='aiyo') & Q(model__exact='content')) | (Q(app_label__exact='aiyo') & Q(model__exact='product')) ) Regards, -scott On Sat, 2006-06-24 at 09:06 -0700, nkeric wrote: > sqlite> select * from django_content_type where (a

Re: Symlink Error? Please help.

2006-06-24 Thread Scott McCracken
Thanks Rajesh, you were right on! The 'pwd' was the culprit and now I know for future reference. Thank you so much. One more UNIX question. According to the documentation to http://code.djangoproject.com/wiki/OsxFcgi;>Setup Django with Apache 1.3 and FCGI I can check to see if Django is running

Re: OT: dynamically generated files?

2006-06-22 Thread Scott Finnie
Just until they've gone in the response. - Scoot. Jay Parlar wrote: > On 6/22/06, Scott Finnie <[EMAIL PROTECTED]> wrote: >> Realise this isn't django specific, would however appreciate advice. >> >> I have a django app that dynamically generates image files based

OT: dynamically generated files?

2006-06-22 Thread Scott Finnie
Realise this isn't django specific, would however appreciate advice. I have a django app that dynamically generates image files based on user queries. During dev I use the same filename every time (so it gets overwritten for each request) however that won't do for production. My proposed

Re: Using offset and limit to produce a blog archive

2006-06-20 Thread Scott Anderson
You should find what you're looking for here: http://www.djangoproject.com/documentation/url_dispatch/#example Regards, -scott On Tue, 2006-06-20 at 12:18 +, [EMAIL PROTECTED] wrote: > Hi All, > > I'm in the process of learning Django by example - creating a blog > applicat

Re: Ajax support, there is no need for reinventing the wheel

2006-06-04 Thread Scott Anderson
This is endemic with all asynchronous Javascript work, no matter what the back-end. You have to make sure to trap both successes and failures in the Javascript code -- I don't know how mochikit does that, but with prototype you need to specify an onFailure hook to get errors. Regards, -scott

Re: Ajax support, there is no need for reinventing the wheel

2006-06-04 Thread Scott Anderson
. Regards, -scott On Sat, 2006-06-03 at 12:05 +0100, Derek Hoy wrote: > I used DWR for a java project I finished last year - > http://getahead.ltd.uk/dwr/ > > It really simplifies the client-server ajax stuff. It lets you fetch > an object from the server and have it available in th

Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Scott Anderson
s like all links to open a new window, for example) just before display. Regards, -scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us

Re: Improper quoting using extra() in Postgres

2006-06-01 Thread Scott Anderson
Great, thanks Adrian! Works perfectly, and man that was quick. ;-) Regards, -scott On Wed, 2006-05-31 at 23:49 -0500, Adrian Holovaty wrote: > On 5/31/06, Scott Anderson <[EMAIL PROTECTED]> wrote: > > The problem is that either Django or the driver is quoting the funct

Improper quoting using extra() in Postgres

2006-05-31 Thread Scott Anderson
setting somewhere to turn off quoting for specific fields, or is there something else I'm missing? Thanks in advance, -scott --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Advice on meta applications

2006-05-30 Thread Scott Finnie
Looking for some advice on how to handle my little problem, all help gratefully appreciated. Apologies it's quite long. Story thus: I need to build an application for holding a simple inventory of components in the IT estate: servers, applications, network switches, etc. They all have a

Re: Please help with project setup

2006-05-30 Thread Scott Anderson
TinyMCE (http://tinymce.moxiecode.com/) is an RTE that was extremely easy to integrate with Django for me. There are processors which can convert HTML to PDF, as well, but how well they work depends on the HTML and CSS being used. Regards, -scott On Tue, 2006-05-30 at 11:22 +, Kristoffer

Adding a specialized database type

2006-05-29 Thread Scott Anderson
directly (ick) 2) modify the DATA_TYPES hash in my manage.py before anything else runs (hacky?) 3) some other, better way that some kind person will let me know :-) Thanks in advance, -scott --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Tagging app

2006-05-25 Thread Scott Anderson
Luke, I'm definitely interested, since I've been thinking about doing this very thing. Regards, -scott On Fri, 2006-05-26 at 00:57 +0100, Luke Plant wrote: > Hi all, > > I've been writing some tagging functionality for my site, and I've > developed it in a way that is reusable

Re: Problem with Django Captcha

2006-05-19 Thread Scott Anderson
. :-) Regards, -scott On Fri, 2006-05-19 at 16:42 +1000, Ian Holsman wrote: > Hi. > > I wrote that app, and it does work (for me at least) > > some of the main problems I have had in the past with it is the lack > of dependant libraries. > you need > > pycaptcha > and >

Re: No module named parts.media.photos ?

2006-05-03 Thread Scott Benjamin
I too just ran across this. It's nice to go searching and find that I'm not the only one. ;) Scott gabor wrote: > hi, > > (actual from-svn-trunk django) > > let's have the following model: > > > == > class Image(Model): >

[newbie] foreign key dereference issue

2006-04-11 Thread Scott Finnie
also tried replacing self.vendor.name with self.vendor.get_name() but with the same results. Occurs on both OSX & Windows, django 0.93, sqlite3 db. Am sure this must be simple, all help much appreciated. Thanks, Scott. --~--~-~--~~~---~--~~ You received

Django and Multiple Database Support

2005-12-29 Thread Scott johnson
e question.  I did run through the basic docs (great job btw; thank you).  Also we'll need to write a baseline simple db backed, captcha class near immediately to keep out the spam bots.  Any interest in our contributing that back? ThanksScott-- -

Re: App deployment

2005-10-11 Thread Scott Benjamin
I can use cgi, would doing something like mod_rewriting the url to point to the django server running on my host be feasible? Are there any limitations that I should be aware of? thanks!

App deployment

2005-10-11 Thread Scott Benjamin
I've looked through the news groups a bit about this subject but nothing seems to fit my situation. My webhost won't install mod_* for me, which means, mod_fcgi,python,scgi are out of the question. What other options do I have? Thanks, Scott

<    1   2   3   4   5