When you set an usable password (using
https://docs.djangoproject.com/en/dev/ref/contrib/auth/#django.contrib.auth.models.User.set_unusable_password),
it is not really clear that to make the password usable again, one should
use `set_password` and define a new one.
The doc says that this metho
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
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
>
> [1] http://clionesoft
hor
(less expensive) or the comment.
Brice Leroy
On May 23, 2011, at 1:34 AM, bruno desthuilliers
wrote:
> On May 23, 5:37 am, stevedegrace wrote:
>> I developed a custom tag to look up the country of a certain IP
>> address using an IP to country database. It's sort
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 django-users@
2011/5/22 John Griessen
> 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
> into it,
>
I try to spend
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 wrote:
> I also did like it as well. however I wouldn't feel secure when I
> started a n
/coder I'd like to get a peer review :-)
Good night folks.
Brice
--
blog: http://www.debrice.com
Time tracking tool: http://alpha.kaaloo.com
Django site generator: http://alpha.djangogenerator.com
linkedin: http://www.linkedin.com/in/bricepleroy
--
You received this message because you ar
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 wrote:
> Hi Mike,
> I think you miss read me. I mean an
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 wrote:
> On 24/02/2011 12:06pm, Brice Leroy wrote:
>> The login is really just so you can manage a bunch of project and
an be "fork"
by other users.
... lots of idea, no so much time :-(
2011/2/23 Mike Dewhirst
> 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, I'd like to get y
om/debrice/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
pro
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.
> Regards.
> Sent from m
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 steep. so
> steep that i'm mo
<
cal.leem...@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 wrote:
>
>> You should try http://www.djangogenerator.com
>>
>
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 look up
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 sala 1502
> Bairro Menino De
Actually, this snippet should be better to explain X-Accel-Redirect feature:
http://www.djangosnippets.org/snippets/491/
2010/2/22 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
://stackoverflow.com/questions/263122/custom-http-headers-for-static-files-with-django
Have a nice day
Brice
2010/2/21 Brett Thomas
> Hey, this is a pretty basic sysadmin question, but seems pretty critical
> for django development. What's the best way to limit media on a django site
&
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!
Th
Thank you Wolf, I think you're right on the necessity of a tutorial
once beta is reach. I'll try to fight against complexity but as new
feature will appear that will probably become a sine qua non
condition.
Thank you for your support.
Brice
2010/2/10 Wolf Halton :
> It is a grea
eed to be
visible and not too much so it can be quickly modified.
Atamert Ölçgen: I'll try to fix the issue with the choice field as
nicely as possible (casting or js trick) so it doesn't break the
usability.
Thank you all again !
Brice
--
blog: http://www.debrice.com
2010/2/9 Mike Ramirez :
> 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's just that I don
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 app.
>
> Isn't this w
Thank you Richard.
I put most of my coding convention inside and try to respect the pep8.
A lot of work still need to be done. But I expect to reach my goal by
the next 15 days
Brice
2010/2/9 Richard Shebora :
> Actually my first thought was... What a great learning tool!
>
> How m
b 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 will generate your models, modelForm,
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
> Javascript was a
2010/2/9 Mike Ramirez :
> 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, templates, urls, and
>>
ommon project model.
2010/2/9 Mike Ramirez :
> 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 architecture that can be
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
https://www.slic
found here: 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
"Djan
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
>
>
Hello everybody,
I'm facing a delicate problem. I want to make ensure the security of
my app and I created a unitest to do so. To make it easy, I was
thinking about fixture, but they don't support model permission
evolution and create conflict over time. So I add a function linked to
the syncdb
at this point,
> the same entry has to be saved twice in the admin.
>
yeah, this is a problem.
As for width and height, there are width and height parameters to
ImageWithThumbnailField that you can use. (Look at the ImageField
documentation)
--
re the same,
> for example in english and in french this URL will be the same :
>
> /articles/python/indentation/
>
really good point, didn't think about that.
--
Brice Carpentier aka Br|ce
--~--~-~--~~~---~--~~
You received this message because
tions (if you didn't already):
> Textile, Markdown and RestructuredText (part of Docutils).
>
I did, thanks :)
Still wondering whether to use Textile (easy to learn and read) or
Docutils (easy to convert to basically almost any output format).
--
Brice Carpentier aka Br|ce
--~--~-
; could be converted to PDF files automatically, and using HTML tags
> would ruin this, correct?
>
I'm highly considering using textile as a markup language for my
project instead of a RTE.
--
Brice Carpentier aka Br|ce
--~--~-~--~~~---~--~~
You
g the both to be different articles and having no
information on the language in the url.
So something like this :
"/articles/topic/subtopic/article-title-in-english/display/"
"/articles/topic/subtopic/article-title-in-dutch/display/"
--
Brice Carpentier aka Br|ce
--~--~--
thinking about
making this again for a little django cms engine I'm working on (which
I'll opensource later, once it's been used and improved for some
time).
--
Brice Carpentier aka Br|ce
--~--~-~--~~~---~--~~
You received this message because
and how you
consider the language to be :)
Regards,
--
Brice Carpentier aka Br|ce
--~--~-~--~~~---~--~~
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@googlegr
no fuss will be very helpfull (it seems).
>
> " Any brilliant ideas?" not really...
>
wasn't there any Jazz artist that was known to be "too commercial" ?
I think that would suit the project just fine, wouldn't it ?
--
Brice Carpentier aka Br|ce
--~--~---
the
wiki on code.djangoproject.com)
--
Brice Carpentier aka Br|ce
2006/2/11, Russell Keith-Magee <[EMAIL PROTECTED]>:
>
> On 2/6/06, Brice Carpentier <[EMAIL PROTECTED]> wrote:
> >
> > Hi,
> > I've got an Article object (what a surprise !), and was willing to
> > relate it to other articles
> > My init
n
intermediary table, but this doesn't seem to be edited inline (I get a
"bool object is not callable" error). Am I missing something ?
Regards,
--
Brice Carpentier aka Br|ce
2006/1/5, Kenneth Gonsalves <[EMAIL PROTECTED]>:
>
> hi
> i am trying to develop a photogallery application.
You might be interesting in contributing to hugo's [1]
[1] https://simon.bofh.ms/cgi-bin/trac-django-projects.cgi/wiki/DjangoGallery
--
Brice Carpentier aka Br|ce
45 matches
Mail list logo