Re: Database Setup

2010-10-14 Thread Greg Fuller
This can be a pain on windows, because there is usually no compiler for setup to build the "binary" version of the adaptor. The easiest course of action is to find a binary for the version of python you are running. I haven't seen any for 2.7 yet but searching for "python msqldb windows binary" w

Re: What JavaScript framework do you use and why?

2009-09-29 Thread Greg Fuller
In addition to mochaui,there's jxlib for mootools: http://jxlib.org/. On Sep 29, 3:12 am, Sid wrote: > You might wanna check out -http://mochaui.com/demo/if you're > planning to use MooTools. > Although i haven't used it yet, but it looks awesome and i haven't > found a  UI framework for jQuery

Re: Non-intrusive way to authenticate phpBB against Django

2009-08-04 Thread Greg Fuller
Thanks! I suspect I will need this soon. On Aug 4, 12:25 pm, Chris McCormick wrote: > Hi All, > > Just uploaded this:http://code.google.com/p/phpbb-json-auth/ > > Hope it's useful to someone else. > > Best, > > Chris. > > ---http://mccormick.cx --~--~-~--~~--

Re: templatetag issue

2009-07-29 Thread Greg Fuller
Are you missing a __init__.py in the tags directory? On Jul 29, 7:57 am, Daymien wrote: > Hallo, > > I created a templatetag, wich I use to display some notes on admin > index template. > With the bildin develop webserver all works fine. > > But when I start the apache server with mod_wsgi or

Re: Webpy vs Django [and how to ask questions the smart way]

2009-04-22 Thread Greg Fuller
>> I'm not sure where you got Web2Py from Well, it was mentioned in the reply before my first reply, which is why I picked up on it. It's here: http://web2py.com/ webpy is here: http://webpy.org/ On Apr 22, 2:04 pm, Phil Mocek wrote: > On Wed, Apr 22, 2009 at 07:46:48PM +0200, Stef Mientki wro

Re: Webpy vs Django

2009-04-22 Thread Greg Fuller
Oops, webpy not web2py. My bad. On Apr 22, 1:43 pm, Greg Fuller wrote: > I flirted with Web2py for a while, but came back to Django. > > Web2py has some compelling features, including: > > * ORM supports Google App Engine  (with limitations of course). > > * Distributio

Re: Webpy vs Django

2009-04-22 Thread Greg Fuller
I flirted with Web2py for a while, but came back to Django. Web2py has some compelling features, including: * ORM supports Google App Engine (with limitations of course). * Distributions can include binary executables for the core pieces (for mac and windows). * Built in server has a console

Re: RichTextField widget for django

2009-03-20 Thread Greg Fuller
http://code.google.com/p/django-fckconnector/ http://code.google.com/p/django-tinymce/ On Mar 20, 7:37 am, Joshua Partogi wrote: > Dear all, > > Does anyone know where I can get an opensource plug and play > RichTextField widget for django out there? > > Thank you very much in advance. > > -- >

Re: Using http header information in settings.py

2008-08-30 Thread Greg Fuller
Thanks Graham. I guess I won't be hiking that trail. On Aug 29, 6:40 pm, Graham Dumpleton <[EMAIL PROTECTED]> wrote: > On Aug 30, 12:20 am, Greg Fuller <[EMAIL PROTECTED]> wrote: > > > Thanks for the replies. > > > I like the middleware solution, if you ca

Re: Using http header information in settings.py

2008-08-29 Thread Greg Fuller
gh   > > this has the negative side effect of having more than one URL per   > > resource, but you could also customize content visibility. > > > Same for the second example -- normally one project is set up per   > > domain. > > > Erik > > > On 29.08.2008

Using http header information in settings.py

2008-08-28 Thread Greg Fuller
I would like a way to to adjust settings based on information in the http header. I've seen a similar question asked before, but I don't need all the django request object, just the http header information. More specifically, user_agent, http_host, and path_info. Here are two examples of the so

Usability: stripping white space from form fields

2008-07-04 Thread Greg Fuller
I want to mention what I consider to be a usability issue with Django forms. It has to do with there being no option to strip leading and trailing whitespace from CharFields, URLFields, EmailFields, etc. Ticket #4969 was to address this issue but was closed with as a 'wontfix', and I have seen o

Re: Handle on request object from custom tag

2008-05-09 Thread Greg Fuller
That did it -- thanks. On May 9, 10:41 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > On Fri, May 9, 2008 at 10:11 PM, Greg Fuller <[EMAIL PROTECTED]> wrote: > > How do I get a handle on the request object from within a custom > > template tag? >

Handle on request object from custom tag

2008-05-09 Thread Greg Fuller
I searched for solutions/examples with no luck, but this can't be that hard. How do I get a handle on the request object from within a custom template tag? Thanks --- Greg F --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Building filter strings dynamically

2008-05-09 Thread Greg Fuller
Thanks to both. Got it working. On May 9, 9:17 pm, Aaron Fay <[EMAIL PROTECTED]> wrote: > Similarly, this will work also:field = 'sections' qry = > qry.filter(**{field+'__name__exact': 'shooting'})Cheers, > Aaron > John Lenton wrote:On

Building filter strings dynamically

2008-05-09 Thread Greg Fuller
Hello, I'm trying to build filter strings dynamically. The normal way works: qry = qry.filter(sections__name__exact='printing') This does not work: filter_str = "sections__name__exact='shooting'" qry = qry.filter(filter_str) . The error is "too many values to unpack" at django/db/mo

Debug tag not showing context from custom tags

2008-05-09 Thread Greg Fuller
Hi, I would like to see the context from a custom tag using the {% debug %} tag, but it's not displaying. I'm rendering a template with the following view code: return render_to_response("index.html", { "who": {'name': 'Greg', 'city':'Smallville'} In the template, I have a c

Re: What Django version should I use?

2008-05-05 Thread Greg Fuller
Django keeps the subversion trunk stable, and changes the documentation to reflect the trunk. So I would use the subversion trunk. On Mon, May 5, 2008 at 11:18 AM, Daniel Strasser <[EMAIL PROTECTED]> wrote: > > Hi there > > I'm new to both Django and Python, but I'm so fascinated about Django