Re: SQLite thread access

2006-04-06 Thread David Pratt
Hi John. I wanted a bit more flexibility in a development server so adapted the cherrypy wsgi server to work with Django. In order to use SQLite, I modified my cherrypy config to use a single thread. Also I had to be sure that if I was calling the connection to execute raw SQL, I made sure to

Re: Django scalability question

2006-02-27 Thread David Pratt
/06, David Pratt <[EMAIL PROTECTED]> wrote: > >>What does scalability look like for Django once you get to the limit of >>your initial serving capacity. I would be interested in what is occuring >>with some of these large newspaper sites to handle the load. > >

Django scalability question

2006-02-27 Thread David Pratt
I am weighing Django and Zope3 for a project for a higher volume site that has to scale for future. It would seem that with Django app could be potentially faster wih mod_python than Zope3 but Zope has a clear path for scalability with ZEO (so multiple application servers ahead of one or more

Re: To Truncate a Word to # of chars

2006-02-26 Thread David Pratt
Hi Sia. I don't believe you need a filter. Just import textwrap module and do what you want. See textwrap module on python.org in the docs for more. Regards, David Siah wrote: > Hi, > > I noticed there is no filter to truncate a string to a given number of > characters as apposed to just word

Re: Collecting field data in admin when field is not in model

2006-02-17 Thread David Pratt
), js = ('path/to/my/js/poll.js') ) and in my poll.js have script to do document.write for the extra input fields. Is this the general idea? Regards, David Adrian Holovaty wrote: > On 2/17/06, David Pratt <[EMAIL PROTECTED]> wrote: > >>Hi. I have a sit

Collecting field data in admin when field is not in model

2006-02-17 Thread David Pratt
Hi. I have a situation with my admin pages where I need to collect some information from admin input fields that are not part of my model. A number of fields must be entered and then the data processed first to derive a result that is inserted into a field in my model. Other types of scenarios

Re: login via url

2006-02-08 Thread David Pratt
Hi Amit. That sounds interesting. I looking at something so allow a credentials to be passed in a similar fashion to zope as a url. Do you have any further details you are able to share? Many thanks. Regards, David Amit Upadhyay wrote: On 2/8/06, *Jason F. McBrayer* <[EMAIL PROTECTED]

Re: login via url

2006-02-08 Thread David Pratt
Hi Jason. Many thanks for your reply. I'll look into what you have suggested. Regards, David Jason F. McBrayer wrote: On Wed, 2006-02-08 at 06:04 -0800, [EMAIL PROTECTED] wrote: Does someone have a recipe for logging in via url only. I would like to have it work with admin or

Re: Search Functionality

2005-12-29 Thread David Pratt
Hi Jacob and Adrian. Doesn't Swish-e pose an incompatibility for licensing? Everything Django has been BSD up to this point and I would hate to see anything alter this. Isn't swish-e gpl? Regards, David Jacob Kaplan-Moss wrote: On Dec 29, 2005, at 9:31 AM, Adrian Holovaty wrote: At Worl