Re: Bring real data tables with FK

2013-08-05 Thread Giulio Calacoci
Hi, How do you fill the JSON? You use the Document class as Main entity ? Because if you have a Document entity, simply use the internal reference to the related object. example: Assuming that you are filling a Map and then use the map for a quick JSON transform. { 'Document id': docu

Re: Bring real data tables with FK

2013-08-05 Thread Giulio Calacoci
do : https://gist.github.com/marioidival/6156074 Thanks! Mário Idival *Twitter *: */@marioigd/* *Facebook*: */mario.idival/* /*User Linux* :**/*#554446* Skype/: marioidival/ *Blog: *https://conconcus.wordpress.com 2013/8/5 Giulio Calacoci <mailto:asdmas...@gmail.com>> Hi,

Re: Install MySQL for Python Django on my Windows PC

2013-08-06 Thread Giulio Calacoci
surprises when going SQLite->PostgreSQL than the transition MySQL->PostgreSQL. and, as a bonus, you get _much_ faster tests :-) +1 SQLite or if you want to install something use PostgreSQL instead of MySQL Regards Giulio -- Giulio Calacoci - 2ndQuadrant Italia PostgreSQL Training, Servic

Re: Passing variables to css file in django

2013-08-27 Thread Giulio Calacoci
May I suggest to save user defined css to a file saved in a specific path? for example if user John_Doe submits a customized css, save it in //css/users/john_doe/override.css then in the head of the html file load the user defined css always after the default one. this way is always static,

Re: UserWarning: A {% csrf_token %} was used in a template, but the context did not provide the value.

2013-11-19 Thread Giulio Calacoci
understood your problem. Regards. Giulio -- Giulio Calacoci - 2ndQuadrant Italia PostgreSQL Training, Services and Support giulio.calac...@2ndquadrant.it | www.2ndQuadrant.it -- You received this message because you are subscribed to the Google Groups "Django users" group. To u