[no subject]

2012-12-09 Thread vinoth kumar renganathan
when i start to run python manage.py runserverto start the DEVELOPMENT SERVER i got this trouble in my terminal like raise TemplateDoesNotExist(name) TemplateDoesNotExist: 500.html so i am new one to django someone help me to let out of this problem -- You received this message

Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread easypie
Yeah. It's uploaded and by using django-filebrowser I can upload image, create folder and move them around but I am not able to use those image in posts. I am using Mezzanine btw. I put up a post over at their user group:

Re: Model method versus overriding save()

2012-12-09 Thread Mike Dewhirst
On 10/12/2012 10:59am, Victor Hooi wrote: Also - in terms of using them with QuerySets - there aren't any workarounds to use model methods with QuerySets are there? It seems like that would be a definite argument in favour of using the second method, right? I'm not sure what you mean exactly

Нужен Django мастер на все руки

2012-12-09 Thread GeorgeS
Нужен Django мастер на все руки: - Опыт с Django от 4 лет - Отличное знание серверной части - Отличное знание Postgres - HTML5, CSS3, JavaScript, (jQuery, Bootstrap, etc.) - Опыт установки и настройки под LINUX - Желателен опыт с Amazon AWS (или другими SAAS, PAAS системами) Если

Re: Model method versus overriding save()

2012-12-09 Thread Victor Hooi
Hi, Hmm, so are we saying that: - Using model methods uses less storage, but performs worse. - Overriding the model's save() method uses more storage, but performs better. I understand the storage part - but I'm a bit confused about the performance part - how does one perform better

Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread Chris Cogdon
If you're using ImageField, that by default verifies that what you've uploaded is in fact an image. It uses PIL (python image library, aka python-imaging) to do that. make sure you have PIL installed and it is working. On Sunday, December 9, 2012 12:40:22 AM UTC-8, easypie wrote: > > I got it

Re: Model method versus overriding save()

2012-12-09 Thread Chris Cogdon
Even though I'm a total database junkie (and where by that I mean postgresql > mysql :) ), I have to agree with Mike. If you can keep it in the model layer, do that. Once you start putting optimisations into the database layer, you lose a lot of portability between databases: there is no such

Re: Messages Framework

2012-12-09 Thread Andreas Pritschet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thanks for the helpful remarks. Indeed I had missed the passage about making a RequestContext instance... Thanks again - -- Andreas Pritschet Phone: +49 151 11728439 Homepage:http://www.pritschet.me GPG Pub Key: http://goo.gl/4mOsM

Re: Messages Framework

2012-12-09 Thread jirka . vejrazka
You have not posted any code so it's difficult to say what you might be missing. I can only confirm that the messaging framework works very well outside of admin, requiring only a few lines of code in views (typically) and a base template. Cheers JirkA -Original Message- From:

Re: Messages Framework

2012-12-09 Thread Karen Tracey
On Sun, Dec 9, 2012 at 8:44 AM, Andreas Pritschet < webmas...@hasenkopf2000.net> wrote: > Hi there, > for a little project of mine I wanted to use the Message middleware, > but the documentation appears to lack some crucial information. > > The message framework is working very well on the admin

Messages Framework

2012-12-09 Thread Andreas Pritschet
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi there, for a little project of mine I wanted to use the Message middleware, but the documentation appears to lack some crucial information. The message framework is working very well on the admin site. On the admin site also the messages generated

Loading XSD file into memory ONCE

2012-12-09 Thread Dwayne Ghant
Hello All, I will be short and sweet. I have a simple (well at least I think it's simple) question. First let me explain, I'm writing a RESTful webservice that uses validates xml submissions using an xsd (440kb in size), pre-defined, schema. I would, idealistically, like to bootstrap the

Re: Model method versus overriding save()

2012-12-09 Thread Mike Dewhirst
On 9/12/2012 5:54pm, Thomas Lockhart wrote: On 12/8/12 5:37 AM, Derek wrote: Rather than use a trigger (which is DB-specific and also hard to debug because not part of your code base), suggest you use signals[1]. Hmm. Triggers have advantages over application-level code where they can be used.

How to make django-registration use Chinese as username?

2012-12-09 Thread Scarl
I am a chinese user. I want to use django-registration to make a user-registration application. But I find django-registration only support english username. And its help_text are also english. I need to use Chinese as username. What should I do? -- You received this message because you are

Re: IOError, Permission Denied using Amazon s3 w/ django-storage?

2012-12-09 Thread easypie
I got it working by granting 775 permission for that fold and its sub-folder where the files had to be created and lacked enough privilege to do so. Now everything works! ...I just need to figure out why the uploads won't accept .jpg files =\ On Saturday, December 8, 2012 11:18:25 PM UTC-8,