Re: Response wit File Name

2008-07-09 Thread jurian
So the the filename is then determined by the browser, of course! That makes sense. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Response wit File Name

2008-07-09 Thread jurian
Is there any way to specify the filename that a HTTPResponse will be saved as on the browser side? (without using the 'Content-Disposition' header, I see many responses with filenames that don't use this header) --~--~-~--~~~---~--~~ You received this message

Re: Unable to upload PNG's

2008-06-27 Thread jurian
Seems like PIL doesn't like interlaced PNG's. --~--~-~--~~~---~--~~ 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@googlegroups.com To unsubscribe from this group,

Re: Unable to upload PNG's

2008-06-24 Thread jurian
Thanks for that! I think there might be a link missing in your message. I did that search and it didn't bring up anything really useful. I tried linking to the 'zlib' headers in the 'setup.py' manually as one post suggested, but it had no effect after a rebuild and install. The installation

Unable to upload PNG's

2008-06-23 Thread jurian
I am currently getting an error when I attempt to upload a PNG image from the admin side. Error: Upload a valid image. The file you uploaded was either not an image or a corrupted image. There is nothing wrong with the image, and I've made sure that my PIL is setup correctly.

Re: createsuperuser error

2008-06-20 Thread jurian
I see now that this error doen not occur on an older version of the 'newforms-admin' branch, so I assume that something was broken with a recent update. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"

createsuperuser error

2008-06-20 Thread jurian
I'm getting the following error message when I try to run syncdb: Error: Unknown command: 'createsuperuser' All the tables are created, but as soon as it enter 'yes' to create the super user the error appears. I've got no clue as to what might be causing the problem. I'm using the latest

Re: Changing admin index

2008-06-17 Thread jurian
I think there should be a better way to do this. I believe that there should be a way to override the admin index for each application separately. It would also have to be a way to specify the way these templates are displayed. I'm currently trying to override the admin index of one

Re: Application Concepts

2008-04-10 Thread jurian
Does anyone else think I should add a ticket request for this as a future feature? On Apr 9, 7:32 pm, Waldemar Kornewald <[EMAIL PROTECTED]> wrote: > > Most of this can be automated (scanning installed apps for media > folders, generating urlpatterns, etc.) and IMHO Django should provide > a

Selecting Python version for mod_python

2008-04-09 Thread jurian
How can I go about selecting the python version for mod_python to use? Using PythonPath doesn't seem to be the way to do this, as stated in the mod_python documentation, this strign is evaluated. This means that a python version has to be selected before the PythonPath directive is processed.

Re: Application Concepts

2008-04-08 Thread jurian
I like that concept. How does one go about including media files required for an application to function then? (I don't really know how to do this in the project/app configuration either) James Bennett wrote: > On Tue, Apr 8, 2008 at 1:38 AM, jurian <[EMAIL PROTECTED]> wrote: > &

Application Concepts

2008-04-08 Thread jurian
Are django applications meant to be implemented in such a manner as to allow the entire application directory to be copied into another project and used without having to alter any of the code? --~--~-~--~~~---~--~~ You received this message because you are

Re: Model Absolute URL

2008-03-31 Thread jurian
at 01:01 -0700, jurian wrote: > > Is there any way apart from the following to get the absolute URL of > > an object? > > There is no canonical "absolute URL" for an object. It's one of the > things you define (in the get_absolute_url() method of the model). So >

Model Absolute URL

2008-03-31 Thread jurian
Is there any way apart from the following to get the absolute URL of an object? opts = model._meta url = "../../../%s/%s/add/" % (opts.app_label.lower(), opts.object_name.lower()) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Model Inheritance

2008-03-30 Thread jurian
How would I go about implementing a model that only exists to be inherited from and not used on it's own? Example: class Animal(models.Model): name = models.CharField() class Dog(Animal): x = models.CharField() class Cat(Animal): y = models.CharField() In the example I want to create and