Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Julien Phalip
On Feb 21, 4:35 pm, Gabriel Hurley wrote: > I'm still in favor of adding the "needsinfo" resolution and would love to > see that happen... I guess technically I could even do that one myself via > Trac's web admin if we're all agreed on it. I agree this is a good idea. By the way, for reference i

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Russell Keith-Magee
On Tue, Feb 22, 2011 at 3:49 PM, Julien Phalip wrote: > I know there already is a "Has patch" flag, but I actually find that > one a bit useless since there's no way to distinguish from the mass of > tickets where there are good, solid patches (whose authors themselves > think could be RFC or sim

Re: Your thoughts on the Secure Web Application Framework Manifesto

2011-02-22 Thread Rohit Sethi
Gabriel, great idea! This is a problem with OWASP in general, but definitely we can do better on this doc. I think we'll first focus on putting our words in action with help in contributing some of the features into Django first, and then revisit the doc. Mainly I'd like to assess what pieces of it

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Yishai Beeri
On Tue, 22 Feb 2011 13:22:30 +0200, Russell Keith-Magee wrote: On Tue, Feb 22, 2011 at 3:49 PM, Julien Phalip wrote: One Trac feature that I suspect *might* help in this regard is one that I've raised before -- allowing users to flag individual issues that they have an interest in seeing sol

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Russell Keith-Magee
On Tue, Feb 22, 2011 at 9:48 PM, Yishai Beeri wrote: > On Tue, 22 Feb 2011 13:22:30 +0200, Russell Keith-Magee > wrote: > >> On Tue, Feb 22, 2011 at 3:49 PM, Julien Phalip wrote: >> One Trac feature that I suspect *might* help in this regard is one >> that I've raised before -- allowing users to

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Daniel Moisset
On Tue, Feb 22, 2011 at 11:21 AM, Russell Keith-Magee wrote: > > This is one of those areas where we need someone to step up an > volunteer to do some Trac work and show us what is possible. > If http://trac-hacks.org/wiki/VotePlugin is fine for the needs, I'm ok with helping install it; although

Re: Contributing Guide Request For Input

2011-02-22 Thread Waylan Limberg
On Sat, Feb 19, 2011 at 6:49 PM, Gabriel Hurley wrote: > I've added a patch to ticket #14401 based on the contributions people made > to the wiki. This is the final call for comments and review before it gets > officially added. > Thanks! >     - Gabriel Hurley I realize the docs don't generally

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Yishai Beeri
On the same note, the Reports [1] page in the wiki contains several links under "Tickets by popularity", which attempt to do exactly this based on the existing CC field. However none of these links work - can anyone recall if they ever did? [1] http://code.djangoproject.com/wiki/Reports O

Re: Intermittent IOError exception raised and emailed to admins during file upload.

2011-02-22 Thread Drew Volpe
It oddly seems to have stopped happening when we moved to staging. It's a different server though the apache config is exactly the same (the settings I sent in my previous message: mod_wsgi 3.2, embedded mode, mpm worker). We also rolled out a few fixes in our mobile app so it's possible it was b

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Julien Phalip
On Feb 22, 3:22 am, Russell Keith-Magee wrote: > On Tue, Feb 22, 2011 at 3:49 PM, Julien Phalip wrote: > > I know there already is a "Has patch" flag, but I actually find that > > one a bit useless since there's no way to distinguish from the mass of > > tickets where there are good, solid patche

'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

2011-02-22 Thread Alexander Bolotnov
I created a simple model: class Menu(models.Model): name = models.CharField(null=False, blank=False,unique=True,max_length=50) url = models.CharField(null=False, blank=False, unique=True,max_length=100) sortOrder = models.IntegerField(null=False, blank=False, default=0) def __uni

Re: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

2011-02-22 Thread Alexander Bolotnov
I fixed this by change the unicode to return self.name - but why was this failing anyway? -- 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 gro

Re: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

2011-02-22 Thread rikuthero...@gmail.com
The problem is, I think, that you're trying to insert a non-ascii string, inside an ascii string: def __unicode__(self): return 'name: {0}, url: {1}'.format(self.name, self.url) Probably, self.name is an unicode string, and you're trying to put it on a non-unicode string. Try this: def _

Re: 'ascii' codec can't encode characters in position 0-8: ordinal not in range(128)

2011-02-22 Thread Ian Kelly
2011/2/22 Alexander Bolotnov > I created a simple model: > > class Menu(models.Model): > name = models.CharField(null=False, > blank=False,unique=True,max_length=50) > url = models.CharField(null=False, blank=False, > unique=True,max_length=100) > sortOrder = models.IntegerField(null=

psycopg2.OperationalError: could not connect to server

2011-02-22 Thread ikars
I installed the djangostack from bitnami last night, but have a hard getting psycopg2 to see postgresql. I get this instead: *psycopg2.OperationalError: could not connect to server: No such file or directory* * Is the server running locally and accepting* * connections on Unix domain socket

Re: Pluggable encryption for django auth (design proposal)

2011-02-22 Thread Jeff Balogh
On Mon, Feb 21, 2011 at 9:26 AM, Jacob Kaplan-Moss wrote: > On Mon, Feb 21, 2011 at 3:23 PM, poswald wrote: >> Russ, Carl, thanks for your feedback. Russ, I understand what you say >> about not wanting to adopt crypto code because of the additional >> responsibility. Unfortunately, there aren't v

Re: psycopg2.OperationalError: could not connect to server

2011-02-22 Thread Gabriel Hurley
This list is for the development of Django itself. Please try asking your question on the Django Users list . All the best, - Gabriel Hurley -- You received this message because you are subscribed to the Google Groups "Django developers" group

Django app framework to allow configuration of apps via admin interface

2011-02-22 Thread Nico
Hi! I am working on a django site for simple class (as in teachers) management. Because the people I am targeting for this site won't necessarily have any python or other technical skills, I want to make it so they can enable/disable user access to apps and configure apps via the admin interface.

Multiple email connections

2011-02-22 Thread Niran Babalola
Multiple databases and caches can currently be configured in one's settings file. It'd be nice if the same could be done with email connections. For example, Amazon's SES starts out new users with a low quota that they gradually increase, so splitting emails between SES and other connections to sta

Re: Django app framework to allow configuration of apps via admin interface

2011-02-22 Thread Karen Tracey
Please direct questions/discussions about using Django to django-users. The topic of this list is the development of core Django itself. Karen -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-deve

Re: Multiple email connections

2011-02-22 Thread Russell Keith-Magee
On Wed, Feb 23, 2011 at 9:02 AM, Niran Babalola wrote: > Multiple databases and caches can currently be configured in one's > settings file. It'd be nice if the same could be done with email > connections. For example, Amazon's SES starts out new users with a low > quota that they gradually increa

Re: Delete cascade up for Inherited models

2011-02-22 Thread Russell Keith-Magee
On Mon, Feb 21, 2011 at 1:56 PM, Rahul wrote: > When i ran the test cases ( "modeltests/delete/ > test_inheritance_cascade_up" ) which were doing cascade up for > inherited models, it failed for DB2 cause of the fact that DB2 doesn't > support initial deferred constraint checks like behavior, henc

Re: Delete cascade up for Inherited models

2011-02-22 Thread Alex Gaynor
On Wed, Feb 23, 2011 at 1:37 AM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > On Mon, Feb 21, 2011 at 1:56 PM, Rahul > wrote: > > When i ran the test cases ( "modeltests/delete/ > > test_inheritance_cascade_up" ) which were doing cascade up for > > inherited models, it failed for DB2 c

Re: render_to_* vs Template.render

2011-02-22 Thread Russell Keith-Magee
On Tue, Feb 22, 2011 at 6:41 AM, Chris Beaven wrote: > After hunting down a very elusive bug, I found the cause to be due to the > fact that render_to_string leaves the context in a different state than it > started (due to the context stack being pushed before rendering, and then > not popped). >

Re: Delete cascade up for Inherited models

2011-02-22 Thread Russell Keith-Magee
On Wed, Feb 23, 2011 at 2:39 PM, Alex Gaynor wrote: > > > On Wed, Feb 23, 2011 at 1:37 AM, Russell Keith-Magee > wrote: >> >> On Mon, Feb 21, 2011 at 1:56 PM, Rahul >> wrote: >> > When i ran the test cases ( "modeltests/delete/ >> > test_inheritance_cascade_up" ) which were doing cascade up for

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Russell Keith-Magee
On Tue, Feb 22, 2011 at 10:36 PM, Daniel Moisset wrote: > On Tue, Feb 22, 2011 at 11:21 AM, Russell Keith-Magee > wrote: >> >> This is one of those areas where we need someone to step up an >> volunteer to do some Trac work and show us what is possible. >> > > If http://trac-hacks.org/wiki/VotePl

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Russell Keith-Magee
On Wed, Feb 23, 2011 at 2:53 AM, Julien Phalip wrote: > On Feb 22, 3:22 am, Russell Keith-Magee > wrote: >> Like I have said many times in the past -- issuing queries to find >> tickets needing review isn't a problem we have. The information that >> is needed is all there. What we *do* have are t

Re: Suggestion: a new "nature" field in Trac

2011-02-22 Thread Łukasz Rekucki
> or an invitation to a 'high value contributors' party at > DjangoCon. Uuu... would I get a hoove shake from Django's Magical Pony ? ;-) Anyways, I'm +1 on adding a "nature" field to track - It would've been very helpful right before feature-freeze (so I can weed out simple features that lingere