Re: Newsforms: submit patches?

2007-01-07 Thread Philipp Keller
Ok, I'll post the patches. One further question: db.models.fields.TextField.formfield() currently returns a CharField witout its widget set. I would have expected its widget set to widgets.Textarea. Is this by design? greets Philipp On Sun, Jan 07, 2007 at 01:15:41PM -0600, Adrian Holovat

newforms - handling foreignkeys

2007-01-10 Thread Philipp Keller
Hi there There's a problem with newforms with foreignkey/choicefield. In the following example, category is a ForeignKey field: >>> EntryForm = forms.models.form_for_model(Entry) >>> print EntryForm.fields.keys() ['title', 'body', 'category'] >>> data = dict(title="lorem", body="lorem ipsum dol

Re: UNICODE and newforms

2007-01-11 Thread Philipp Keller
+1 from me. I'm german speaking, having ümläüts all over the place. I stumbled over the following post that refers to a few tickets whose patches proved helpful http://maurus.net/weblog/2006/08/08/utf8-encoded-unicode-support/ greets Philipp On Wed, Jan 10, 2007 at 11:56:52PM -0800, Ville Sää

Disable field creation in forms for hidden model fields (#3247)

2007-01-18 Thread Philipp Keller
Hi there I'm trying to start the design discussion needed for #3247 concerning newforms. Currently if you add a field to your model with editable=False, e.g. created = models.DateTimeField(editable=False) then the field "created" isn't rendered in a form in the admin but it will still be rende

Re: Encouraging contributed documentation

2007-01-24 Thread Philipp Keller
> So I'd like to propose that we draw up some guidelines for > contributing documentation for Django, and begin encouraging > documentation contributions just as much as we encourage code > contributions. I'm not 100% sure this is the right direction. As I found out there's lacking documentation

Re: unicode issues in multiple tickets (#952, #1356, #3370) and thread about Euro sign in django-users

2007-01-27 Thread philipp . keller
Hi Ivan Thank you very much for making things very clear here. It seems the whole issue cryes for a unification of the whole django source before the 1.0 release, or do I misinterpret? Do you know which parts of django still use bytecode strings? greets Philipp On Sat, Jan 27, 2007 at 06:10:

Re: unicode issues in multiple tickets (#952, #1356, #3370) and thread about Euro sign in django-users

2007-01-28 Thread philipp . keller
> The real question, then, is what will it take to get Django unicode > uh, "safe" (not sure if that's the best term) before 1.0. I realise > that this looks like it's going to be fairly major to sort out, but if > we don't then we're going to have all sorts of irritating little bugs > like th

newforms form_for_model documentation

2007-02-04 Thread philipp . keller
Hi there The newforms documentation still lacks a paragraph about converting model to forms and posted form data back to models/db. There are some tickets (3247, 3257) waiting for this documentation bit to be written so they can submit a documentation path and become part of the svn trunk. Is

Re: Proposal: Generic Pagination

2007-08-27 Thread Philipp Keller
+1 I also looked into django.contrib.admin for that thing and wanted to reuse the code there but ended in coding it myself. greets Philipp On Mon, Aug 27, 2007 at 08:40:45AM -, Iapain wrote: > > Introduction: > > Most of the time ObjectionPaginator server incomplete functionality > beca