newforms: Choices don't accept unicode values

2007-01-07 Thread jfroehlich


Hi, not sure but i think there is a bug in a fields choices
with python 2.3

When i do something like http://dpaste.com/hold/4454/ i get an
UnicodeDecodeError when rendering the form to html. A friend of mine
tested it with python 2.4 without a problem.

-johannes


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django 
developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: newforms: Choices don't accept unicode values

2007-01-09 Thread jfroehlich

Adrian Holovaty wrote:
> Hi Johannes,
>
> Could you update your code to at least revision 4296? I believe I've
> fixed the problem. Thanks again for reporting it.

Hi Adrian

Thanks for this quick response and fix. I keep up to date on trunk
since I'm really interested in the development there.

There was another question about choices coming up: Is it intended that
input fields in the html output of choices is nested inside the labels
tag? In my opinion it's better to have

blub

instead of

 blub 

In the first one i could just hide the labels of choices via css if
necessary. The second needs a hack in the widget which isn't that easy
in a template.

-johannes


--~--~-~--~~~---~--~~
 You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Feedback on alternate comments app

2007-08-12 Thread jfroehlich

Hello everybody.

A few month ago I did an own comments app, because the application
included with django doesn't have all the features I needed but a lot
of stuff I don't need. This one has a very simple base model, is
extensible and it uses the new forms framework. I'm planing to add
more features like support for spam filtering and email notification.
But for now I'd like to hear your opinion and ideas for enhancements.

You can find the sources here: 
http://www.jfroehlich.net/projects/django-comments/

-Johannes


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Feedback on alternate comments app

2007-08-13 Thread jfroehlich

On Aug 13, 3:12 am, Collin Grady <[EMAIL PROTECTED]> wrote:
> This post may be better suited for the django-users list.
>
> This list is for the discussion of the development of django itself,
> not apps that use django.

Well there was this thread [1] about a contrib comments rewrite and
Jacob responded that he had something to show in the near future.
Because of that I thought about waiting for a few weeks. But until now
nothing happened and I didn' had the time to cleanup (unicode support,
small fixes) and release my code for review.

I posted it into django-developers because I'd like to hear feedback
from the core developers. If you like that code or if Jacob finds some
interesting pieces in it you are welcome to use it in django. Sorry
for not telling about this in the original post.


[1]
http://groups.google.com/group/django-developers/browse_thread/thread/f03591808a8b12f5/2d3d76fbbeccbe42?lnk=gst&q=contrib-comments&rnum=3#2d3d76fbbeccbe42


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---



Re: Feedback on alternate comments app

2007-08-13 Thread jfroehlich

On Aug 13, 2:02 pm, "Kai Kuehne" <[EMAIL PROTECTED]> wrote:
> what about features? Do you have more than
> django comments + django-comment-uils?

At the moment it is of course not as powerful as django-comments and
django-comment-utils together. This is because it is still a draft. I
was waiting for what Jacob is coming up with. Anyway it wouldn't be
difficult to make it work with django-comment-utils. They could even
be integrated with it.

My app doesn't include karma, ratings, user flags etc because this
wasn't the design goal (but can still be added later). Instead it uses
the new forms framework and you can extend it with your own models and
forms. Take a look at [1] for more details or download the source.

[1] http://www.jfroehlich.net/projects/django-comments/quickstart/


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~--~~~~--~~--~--~---