Re: storing django object into javascript array

2011-06-10 Thread Brice Leroy
Hello Jay, When you call city.school_set.all ,you get an array of object. the template render the string representation of the object. You might want to loop other them. Check the json serializer too : https://docs.djangoproject.com/en/dev/topics/serialization/#serialization-formats Brice

Re: Django 1.3 docs PDF

2011-06-01 Thread Brice Leroy
Nice job Oscar. That goes straight into my iBook :) 2011/6/1 Oscar Carballal > Hello, > > I've just created a PDF (5.6MB, 1042 pages) with all the django 1.3 > docs [|], just in case someone need it (sometimes it's useful to have > the docs offline). > > Cheers, > Oscar > >

Re: Weird problem with rendering a Variable in a custom tag

2011-05-23 Thread Brice Leroy
expensive) or the comment. Brice Leroy On May 23, 2011, at 1:34 AM, bruno desthuilliers <bruno.desthuilli...@gmail.com> wrote: > On May 23, 5:37 am, stevedegrace <degr...@gmail.com> wrote: >> I developed a custom tag to look up the country of a certain IP >> add

Re: My tool to generate django code

2011-05-22 Thread Brice Leroy
Thanks you, I really appreciate :) 2011/5/21 sushanth Reddy > This is awesome Brice, > > Nice Work > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to

Re: My tool to generate django code

2011-05-22 Thread Brice Leroy
2011/5/22 John Griessen <j...@industromatic.com> > On 05/22/2011 05:08 PM, Brice Leroy wrote: > >> The project is open >> > > I think it could be a teaching tool as well as a speed tool. If you afford to update it some how. Looks like a lot of research went > i

Re: My tool to generate django code

2011-05-22 Thread Brice Leroy
The project is open source and is available on github https://github.com/debrice/djangogenerator / license creative common Brice Leroy Sent from my iPhone On May 22, 2011, at 10:56 AM, Mengu <whalb...@gmail.com> wrote: > I also did like it as well. however I wouldn't feel secu

My tool to generate django code

2011-05-21 Thread Brice Leroy
Hello guys, I posted a while ago about my project on this forum. Some liked it some kind of hated it (weird)... I though I would post here for updates. Django Generator is a tool to build django skeleton of your app (model, form, view, templates...). I tried to make sure it covers enough surface

Re: Collaborative text editor with Django

2011-02-23 Thread Brice Leroy
I'm very curious to know the use case for this kind of editor. I'm using HG and GIT to manage merging and I'm quite happy with those. Brice Leroy Sent from my iPhone On Feb 23, 2011, at 8:56 PM, Anoop Thomas Mathew <atm...@gmail.com> wrote: > Hi Mike, > I think you miss rea

Re: Django Code Generator

2011-02-23 Thread Brice Leroy
gz archive. (the site doesn't host the source but generates it on demand at download) Brice Leroy Sent from my iPhone On Feb 23, 2011, at 8:27 PM, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 24/02/2011 12:06pm, Brice Leroy wrote: >> The login is really just so you can

Re: Django Code Generator

2011-02-23 Thread Brice Leroy
be "fork" by other users. ... lots of idea, no so much time :-( 2011/2/23 Mike Dewhirst <mi...@dewhirst.com.au> > On 24/02/2011 11:46am, Brice Leroy wrote: > >> Hello, >> >> I posted a while ago about this project and since it's pretty complete >> now,

Django Code Generator

2011-02-23 Thread Brice Leroy
/djangogenerator The project allows you to: - Generate model - Views - Forms - Urls The main goal is: - Providing code to beginner / teaching tool - Quickly start a project skeleton and then spend time on customization Thank you all Brice Leroy -- blog: http://www.debrice.com project: http

Re: How to format django template code nicely with notepad++?

2011-02-22 Thread Brice Leroy
Might seam rude but you should try coding on linux. Some easy distribution like ubuntu. You can even install it in a virtual environment with virtual box. 2011/2/22 > You might want to try Activestate Komodo Edit. > That's what I use and it's such a wonderful experience.

Re: How to format django template code nicely with notepad++?

2011-02-22 Thread Brice Leroy
Learning VI is good for you and it makes you fast. Learning curve is steep, I agree, but the result is quite amazing. One other big advantage, you can easily work on any server through SSH. 2011/2/22 mongoose > I used vim for a while but the learning curve really is

Re: Askani

2011-02-22 Thread Brice Leroy
eem...@simplicitymedialtd.co.uk> > I'm sure these will be useful to someone, but it kinda takes the fun out of > designing a structure from scratch :( > > On Tue, Feb 22, 2011 at 5:47 PM, Brice Leroy <bbrriic...@gmail.com> wrote: > >> You should try http://www.djangogenerator.com

Re: Askani

2011-02-22 Thread Brice Leroy
You should try http://www.djangogenerator.com - Generate model - Views - Forms - Urls and manage User profile extesion Brice 2010/11/26 Wim Feijen > Nice! It definitely saves typing. Sounds like a right thing for > newbies, because when I was a newbie, I always had to

Re: RV: photos sexy

2010-02-26 Thread Brice Leroy
It's just that dev in django makes you more attractive I guess 2010/2/26 Tiago Freire > I bet this is a ploy of the django team to draw in more developers... > > --- > Tiago Mikhael Pastorello Freire > > Av. Getúlio Vargas, 901

Re: Best practices for restricting media?

2010-02-22 Thread Brice Leroy
Actually, this snippet should be better to explain X-Accel-Redirect feature: http://www.djangosnippets.org/snippets/491/ 2010/2/22 Brice Leroy <bbrriic...@gmail.com> > Hello Brett, > If you use nginx you can use the X-Accel-Redirect function. Technicaly, you > get the file re

Re: Best practices for restricting media?

2010-02-22 Thread Brice Leroy
Hello Brett, If you use nginx you can use the X-Accel-Redirect function. Technicaly, you get the file request on django, you check if the user should have an access to the file and then you send back a header with the filename inside to your instance of NGinx. Nginx then serve the file.

Re: Django Generator

2010-02-16 Thread Brice Leroy
2010/2/13 Philippe Ombredanne : > Brice: > Very nice start. > There is a long history of similar tools and they all have a place and > a purpose. > I remember fondly of some tool that generated CRUD dbase apps from a > db schema .. that was last century ... > So carry on!

Re: Django Generator

2010-02-10 Thread Brice Leroy
what the generator > has done for them. > > Wolf > > On Wed, Feb 10, 2010 at 11:55 AM, Brice Leroy <bbrriic...@gmail.com> wrote: >> >> Hello everybody, >> >> I woke up this morning and saw all those email and I would like to >> thank you all for al

Re: Django Generator

2010-02-10 Thread Brice Leroy
Hello everybody, I woke up this morning and saw all those email and I would like to thank you all for all those advices and support you wrote. That motivates me even more to work on it. The project being in alpha stage, please keep in mind that your project integrity and its storage is not

Re: Django Generator

2010-02-09 Thread Brice Leroy
2010/2/9 Mike Ramirez <gufym...@gmail.com>: > On Tuesday 09 February 2010 15:12:21 Brice Leroy wrote: >> Would you eat some food not cook by a professional ? >> > > I would be very wary of a person who hasn't cooked before... The difference is > in experience. it'

Re: Django Generator

2010-02-09 Thread Brice Leroy
2010/2/9 Mike Ramirez : > On Tuesday 09 February 2010 14:52:00 Frank W. Samuelson wrote: >> You are something of a killjoy, Mike. >> >> This could grow into a really great project, where people >> don't even have to learn programming to generate a usable >> django web database

Re: Django Generator

2010-02-09 Thread Brice Leroy
ode, >> it would just run.  How many people who have web pages nowadays know HTML? >> >> Generate on! >> >> >> On Tue, 9 Feb 2010, Mike Ramirez wrote: >> >>> On Tuesday 09 February 2010 13:09:08 Brice Leroy wrote: >>>> >>>> django-ad

Re: Django Generator

2010-02-09 Thread Brice Leroy
n! > > > On Tue, 9 Feb 2010, Mike Ramirez wrote: > >> On Tuesday 09 February 2010 13:09:08 Brice Leroy wrote: >>> >>> django-admin startproject creates an empty folder... >>> >>> startproject almost = mkdir >>> >>> This wi

Re: Questions about Django suitability

2010-02-09 Thread Brice Leroy
First you should consider JSON instead of xml: - Django can serialize every object in json - JSon is an object in javascript. so it should be easier to deal with data this way. 2010/2/9 Dasleah : > Hey all, > > Long-ago webhead here who hasn't touched much of anything since

Re: Django Generator

2010-02-09 Thread Brice Leroy
2010/2/9 Mike Ramirez <gufym...@gmail.com>: > On Tuesday 09 February 2010 13:09:08 Brice Leroy wrote: >> django-admin startproject creates an empty folder... >> >> startproject almost = mkdir >> >> This will generate your models, modelForm, views, templa

Re: Django Generator

2010-02-09 Thread Brice Leroy
project model. 2010/2/9 Mike Ramirez <gufym...@gmail.com>: > On Tuesday 09 February 2010 12:58:32 Brice Leroy wrote: >> Hello everybody, >> >> I've been working for a week on this idea of a generator for django >> project. The goal is to provide a simple architec

Re: What hosting companies do you use for django hosting?

2010-02-09 Thread Brice Leroy
I have my servers running on slicehost. To register you can go directly on https://manage.slicehost.com/customers/new?referrer=d70aef6892d34650548f7b7b623b3e87 I put my referrer link on purpose, this would provide me some discount if you register otherwise you can go directly on

Django Generator

2010-02-09 Thread Brice Leroy
: http://alpha.djangogenerator.com/ and is open to registration The source code is located on github: http://github.com/debrice/djangogenerator All the best, -- Brice Leroy http://www.debrice.com -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: Hashed, salted mysql password in settings.py, reccomendation to protect information

2009-12-21 Thread Brice Leroy
Easy, put your password in a settings_secret.py file, do not import this file on your repository. Add: from settings_secret import mysql_password ... you're set :) Brice 2009/12/21 fruity : > Hello, > > I'd like to protect the mysql password that is in settings.py > > I