Re: Student Proposal for Google Summer of Code 2012

2012-02-06 Thread Sam Lai
On 5 February 2012 20:16, j4nu5 wrote: > Hi, > > Google Summer of Code 2012 has been announced. > http://google-opensource.blogspot.com/2012/02/google-summer-of-code-2012-is-on.html > > I want to work on extending Django's database migration capabilities, > as a student. > > Database migrations ha

Re: #14633 - organization of settings docs

2013-01-08 Thread Sam Lai
Looks good. Adds a bit more structure for browsing but doesn't significantly change how the page is used, which is probably through CTRL-F. As mentioned by others in the issue, the distinction current and deprecated settings seems very arbitrary. I think it'll be better to sort the deprecated sett

making URL resolving/reversing gradually more flexible

2010-11-11 Thread Sam Lai
[First timer participating in the Django dev process, so apologies if I have missed some protocol etc.] First up, this is not about adding an alternate URL resolution/reversal method to the core; I've noticed a fair bit of resistance to that. PROBLEM: I want to make my website available via an AP

Re: making URL resolving/reversing gradually more flexible

2010-11-12 Thread Sam Lai
> On Fri, Nov 12, 2010 at 1:56 PM, burc...@gmail.com wrote: >> Hi Sam, >> >> what's the problem with regexp = '^newitems'+SUFFIX+'$' where >> SUFFIX='(/|\.xml|\.json)' ? >> >> And if you need more shortcuts, there are surlex (

Re: making URL resolving/reversing gradually more flexible

2010-11-12 Thread Sam Lai
On 12 November 2010 23:14, burc...@gmail.com wrote: > First I thought you're going to return some instance with reverse > which has get_possibilities. > And you just want RegexURLPattern to register 3 usual regexes for you > instead of one. Effectively. I should've been more concise when writing

Re: settings.py should have way to hide key/values even when debug set True

2011-02-01 Thread Sam Lai
On 1 February 2011 17:26, Alex Gaynor wrote: > How, precisely, would one apply a decorator to an assignment statement? >  Unless there has been some change to Python's grammar I'm not aware of, > decorators can only be used on function and class definitions. You could wrap the value on the rig

Re: Decision for ticket #6362 - Remove blank spaces with strip when validating the data

2011-07-09 Thread Sam Lai
On 5 July 2011 02:20, Jacob Kaplan-Moss wrote: > Doesn't do anything to change my point, though: a framework can't go > about stripping user input. That's a user-code decision. If Django > strips out data I wanted, there's nothing I can do to get it back. I concur. The consensus seems to be shift

Re: Unit tests error out with WinError 10013 in my Windows 7 machine with Python 3.3.2

2013-10-24 Thread Sam Lai
Do you have anything running on port 8081 (running netstat will tell you)? I just ran Django's test suite on my machine (Windows 7, Python 3.3.2), from the trunk cloned an hour ago, and it completed mostly without an issue (there's a UnicodeDecodeError but that's likely because it's printing a cha

Re: 1.6 reverse() escapes unreserved chars in path components

2014-03-01 Thread Sam Lai
The relevant commit and issue - https://github.com/django/django/commit/31b5275235bac150a54059db0288a19b9e0516c7 https://code.djangoproject.com/ticket/13260 On 1 March 2014 17:26, Erik van Zijst wrote: > Django's django.core.urlresolvers.reverse() seems to have changed its > behavior in 1.6. It

Re: 1.6 reverse() escapes unreserved chars in path components

2014-03-02 Thread Sam Lai
ers/Gofq5y40mYA/v_4yjrBItWkJ The final post addresses this issue, but doesn't seem to have been taken into account when the patch was accepted. On 2 March 2014 12:28, Erik van Zijst wrote: > On Sat, Mar 1, 2014 at 2:41 PM, Sam Lai wrote: >> The relevant commit and issue - >> >>

Re: requiring login to perform Trac actions?

2014-03-03 Thread Sam Lai
On 4 March 2014 10:44, Russell Keith-Magee wrote: >> If you believe the "create an account" barrier is a problem, do you think >> adding something like GitHub auth to Trac would lower the barrier to an >> acceptable level? > > > This sounds like a reasonable option to me. Any halfway serious poten

Re: The greatest proposal yet: rename this damn group

2014-09-05 Thread Sam Lai
FYI, this comes up again and again here, but the core devs have shot it down repeatedly. Here's one from last year - https://groups.google.com/d/msg/django-developers/yJYkZEGUzVk/u5xiIzg_TtMJ For the record though, I think renaming it to something less ambiguous is a good idea. On 5 September 201