Re: Selling Django

2010-06-19 Thread Joshua Kramer
These are all great posts! I'll tell you from experience - there are two main concerns with most large companies and web app development: 1. Can I hire people off the street who know product X? 2. How fast can I develop apps with product X? Python and Django should be easy to pick up for compete

Re: How can I debug file uploads?

2010-06-19 Thread Joshua Kramer
Ok, I had to add the request.FILES element to the form generation routine. Now it apears to work! THANKS! On Jun 20, 1:56 am, Kenneth Gonsalves wrote: > On Sunday 20 June 2010 10:52:23 Joshua Kramer wrote: > > > It was not before, but I added the line; so the for

Re: How can I debug file uploads?

2010-06-19 Thread Joshua Kramer
It was not before, but I added the line; so the form looks like: ...and still no dice - there isn't anything in the request.FILES dictionary. On Jun 20, 12:59 am, Kenneth Gonsalves wrote: > On Sunday 20 June 2010 10:20:16 Joshua Kramer wrote:>  I have a page with a > file uploa

How can I debug file uploads?

2010-06-19 Thread Joshua Kramer
Hello, I have a page with a file upload field. When I submit the page, it *appears* that the browser is not sending the file data. That is, when I submit the form, the request.FILES{} dictionary contains no file data. What do I need to look at in the debugger to determine why it's missing?

How do I tap into admin.py to generate data from models?

2009-11-29 Thread Joshua Kramer
Hello, What document or example code should I consult to learn how to tap into admin.py to output specific data based on a model? For example, if I have an application and a handful of models, if I do "admin.py sqlall" then I get output that consists of SQL statements used to generate the model i

Re: What would cause an app to not register?

2009-11-16 Thread Joshua Kramer
Thanks a ton Mark! I wish I would have done this much earlier. Some of my models had GeoDjango models in them. For these, I need to have ctypes and geos installed - neither of which are installed. When I commented out the bits requiring GD, presto - everything is installed properly. On Mon, Nov

What would cause an app to not register?

2009-11-15 Thread Joshua Kramer
Howdy Everyone! After having installed a fresh version of Pinax 0.7.1, I have an interesting problem with the behavior of Django when I try to install custom applications. In my main project directory, I've created an 'apps' directory, and created some standard django skeleton apps. When I tried