Re: staticfiles defaults broke my site

2010-11-01 Thread Russell Keith-Magee
On Tue, Nov 2, 2010 at 10:55 AM, Carl Karsten wrote: > I am not completely sure what is going on, but pretty sure the new > staticfiles thing is colliding with my existing > > urlpatterns += patterns('', > (r'^static/(?P.*)$', 'django.contrib.staticfiles.views.serve', >        {'document_root': 's

staticfiles defaults broke my site

2010-11-01 Thread Carl Karsten
I am not completely sure what is going on, but pretty sure the new staticfiles thing is colliding with my existing urlpatterns += patterns('', (r'^static/(?P.*)$', 'django.contrib.staticfiles.views.serve', {'document_root': 'static/','show_indexes': True})) That used to work, now I get:

Re: Non-SQL database cache backend

2010-11-01 Thread Russell Keith-Magee
On Tue, Nov 2, 2010 at 9:20 AM, Jonas H. wrote: > On 11/02/2010 01:09 AM, Russell Keith-Magee wrote: >> >>   - The base class refactoring makes sense, although what you're >> proposing isn't really just a 'BaseDB backend', but a 'backend that >> has to implement culling'. The reason I can say this

Re: Non-SQL database cache backend

2010-11-01 Thread Jonas H.
On 11/02/2010 01:09 AM, Russell Keith-Magee wrote: - The base class refactoring makes sense, although what you're proposing isn't really just a 'BaseDB backend', but a 'backend that has to implement culling'. The reason I can say this is that the logic you have factored out is duplicated in th

Re: contrib.auth.user model and the username field

2010-11-01 Thread Russell Keith-Magee
On Sun, Oct 31, 2010 at 8:26 PM, kinygos wrote: > As of Django 1.2, the username field of the contrib.auth.user model > may contain @, +, . and - characters.  This goes partway to allowing e- > mail addresses to be used as usernames. > > Is it possible to increase the max_length of this field to 2

Re: Non-SQL database cache backend

2010-11-01 Thread Russell Keith-Magee
On Mon, Nov 1, 2010 at 11:10 PM, Jonas H. wrote: > On 10/29/2010 03:37 PM, Russell Keith-Magee wrote: >> >> Writing a MongoDB (or any other non-SQL) cache backend shouldn't be a >> particularly onerous task; after all, the queries are simple, and the >> .The SQL backend is only 150 lines of code;

Re: Ticket #12248 (moving django.template.__init__ contents to django.template.base)

2010-11-01 Thread Jacob Kaplan-Moss
On Mon, Nov 1, 2010 at 4:31 PM, Tom X. Tobin wrote: > I've updated the changes for ticket #12248 and placed them on GitHub: > > http://code.djangoproject.com/ticket/12248 > > http://github.com/tomxtobin/django/tree/template-import-refactor-t12248 > > Is there any chance this might make it into the

Re: MultiWidgets

2010-11-01 Thread Jacob Kaplan-Moss
On Mon, Nov 1, 2010 at 4:13 PM, Paul Oswald wrote: > Some of the issues in that list seem like they would be small patches. Would > it be possible to have someone mark the low hanging fruit as 1.3? Yes - go ahead and do it! We usually spend the last couple-three weeks of each release cycle push

Ticket #12248 (moving django.template.__init__ contents to django.template.base)

2010-11-01 Thread Tom X. Tobin
I've updated the changes for ticket #12248 and placed them on GitHub: http://code.djangoproject.com/ticket/12248 http://github.com/tomxtobin/django/tree/template-import-refactor-t12248 Is there any chance this might make it into the next release? The ticket has been Accepted for several months,

MultiWidgets

2010-11-01 Thread Paul Oswald
Is it too late to have the 1.3 Milestone applied to these documentation issues? http://code.djangoproject.com/ticket/13997 http://code.djangoproject.com/ticket/11185 I'm trying to update some old code that has a custom MultiValueField and MultiWidget to be 1.2 compatible and I've never made a cu

Re: Django/CherryPy problem with POST data

2010-11-01 Thread Ivan Sagalaev
On 11/01/2010 11:21 AM, Mark wrote: Ticket #14594 From a quick look it can be fixed in two ways: - HttpRequest.raw_post_data can always explicitly ask for content_length bytes. If content_length is absent just treat it as 0. - WSGIRequest can wra

Ticket #14140: There is no way to override admin templates to the project level

2010-11-01 Thread Enrico
Some admin templates are hard to extend without changing its reference on the admin site or on admin model options. I have a proposal for this problem. Creating a new directory of base admin templates and making the originals extend the base templates. This way it would be easier to extend admin

Re: Django/CherryPy problem with POST data

2010-11-01 Thread Ivan Sagalaev
On 11/01/2010 08:44 AM, Russell Keith-Magee wrote: The only changes I'm aware of making were related to getting readline() to behave correctly. The patch as submitted didn't return the right values for the readline(len) case. Which call to read() are you saying is wrong? Sorry, my memory has fa

Re: contrib.auth.user model and the username field

2010-11-01 Thread silent1mezzo
Wouldn't it be better to just have an email authentication backend. I feel that its unnecessary to duplicate information. The username is there for a reason as well as the email. Maybe the solution is to ship django with both an email and a username authentication and make the other field optiona

Re: Papal module configuration in SATCHMO module

2010-11-01 Thread tariq mahmood
sir it was easily done. only return url was incorrect. sir i am quite new in django and satchmo thanx for you kind reply -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-develop...@googlegroups.com

Re: Non-SQL database cache backend

2010-11-01 Thread Jonas H.
On 10/29/2010 03:37 PM, Russell Keith-Magee wrote: Writing a MongoDB (or any other non-SQL) cache backend shouldn't be a particularly onerous task; after all, the queries are simple, and the .The SQL backend is only 150 lines of code; a backend for any noSQL backend should run to about the same l

Re: OneToOneField clarifications

2010-11-01 Thread George Sakkis
On Oct 9, 4:41 pm, Russell Keith-Magee wrote: > However, any of these plans hinge on us determining the right behavior > in the first place. Like I said last time -- I really need to hear > other opinions on this. Bumping this up (#10227). Btw the other two tickets (#14043, #14368) are RFC; woul

Re: Django/CherryPy problem with POST data

2010-11-01 Thread Mark
Steps to reproduce Ticket #14594 I used a virtualenv running Python 2.7, but I don't think the Python version matters # Install or make sure you are using Django trunk >= 14394 pip install CherryPy # 3.1.2 django-admin.py startproject newbug cd newbug python manage.py runserver # verify on port 8

Re: Django/CherryPy problem with POST data

2010-11-01 Thread Mark
>Sounds like a ticket is called for. Ticket #14594 >To aid the debugging process, if you can provide a complete standalone >example (or at least a complete set of duplication instructions), that >would be most helpful. Working on this now. --Mark --