Re: django.conf.urls.defaults.url documentation

2011-11-15 Thread Mike Thon
Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/Cq5IlvKfjVAJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe

Re: site organization best practices

2011-11-15 Thread Mike Thon
I'm no expert here but if it were me building this project, I'd build the logging mechanism as a separate app and still use the decorator as you are already doing. As for 'cross app reference' - you just import your logging app into your project they way you do any other app. Should be fairly

django.conf.urls.defaults.url documentation

2011-11-14 Thread Mike Thon
I recently started working on a new Django project using the latest release, and I found the function django.conf.urls.defaults.url being used in urls.py. There's no pydoc documentation for this function. Can anyone tell me what it does or point me to some documentation? thanks Mike --

unicode question

2011-03-29 Thread Mike Thon
Hi - I'm not sure if this is a Django problem, but I'm working on a Django project so I thought I'd start here. In my project users will submit text by way of a text field which will eventually be encoded with urllib.quote() and used in a url. When I submit text, certain characters appear on

Re: A few beginner questions

2011-01-08 Thread Mike Thon
I've had this question too, when I'm designing a project. So far, I have dumped all of my own code into the one app that I create for the project and then add external apps that can be found on the internet to extend my project's functionality. For example, I needed to download articles from

using relationship fields in ModelAdmin

2010-01-11 Thread Mike Thon
I have an object in my model that has a OneToOne relationship with an object in another app. I would like to customize the way my object is displayed in the admin interface by subclassing ModelAdmin as shown in the tutorial. I'm not sure how to reference fields across the OneToOne relationship -

[uploadify] passing user info to the signal handler

2009-11-09 Thread Mike Thon
The django-uploadify app allows bulk file uploads and for each uploaded file, it fires a signal and passes the uploaded file data to the receiver. The author's example marks all the uploaded files with a boolean (new_upload=True) and then returns a list of files where new_upload=True to the

Re: concurrency and threading question

2009-10-21 Thread Mike Thon
On Oct 21, 6:44 pm, Javier Guerra wrote: > On Wed, Oct 21, 2009 at 9:49 AM, Michael Thon wrote: > > Thanks for pointing me towards celery.  Its probably overkill for what > > I want to do right now but I'm going to try to set it up anyway. > > the

concurrency and threading question

2009-10-21 Thread Mike Thon
I'm new to web programming and I have a basic question about the design of my Django application. my application will do some number crunching on data files uploaded by users. The data processing will take from minutes to hours for each job. I don't expect to ever get a large number of