Re: [ANNOUNCE] Django security releases issued (1.4.21, 1.7.9, and 1.8.3)

2015-07-10 Thread Łukasz Rekucki
. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/52e4d514-fe86-4867-a640-3484939dd882%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Łukasz Rekucki -- You received this message because you are sub

Re: should we close in-memory file-like objects (StringIO, BytesIO, etc.)?

2015-07-03 Thread Łukasz Rekucki
stop receiving emails from it, send an > email to django-developers+unsubscr...@googlegroups.com. > To post to this group, send email to django-developers@googlegroups.com. > Visit this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit >

Re: Any chances to see Django benefit from new Async features of Python 3.5 ?

2015-06-20 Thread Łukasz Rekucki
0googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To

Re: Any Windows users who could help setting up Jenkins slaves?

2015-04-30 Thread Łukasz Rekucki
ngo-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/9b713601-589d-4685-ab85-93f4fa8d9950%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Łukasz Rekucki -- You received this message

Re: [GSOC] Weekly update

2014-08-04 Thread Łukasz Rekucki
795467-24c7-4a61-af78-1a5b1a16299d%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving

Re: Response Fixes

2014-07-02 Thread Łukasz Rekucki
On 2 July 2014 21:14, Aymeric Augustin <aymeric.augus...@polytechnique.org> wrote: > 2014-07-02 15:36 GMT+02:00 Łukasz Rekucki <lreku...@gmail.com>: > >> It doesn't just alter it, but makes it conform to HTTP standard. > > > As usual, given a different set of exp

Re: Response Fixes

2014-07-02 Thread Łukasz Rekucki
On 2 July 2014 15:42, Florian Apolloner <f.apollo...@gmail.com> wrote: > On Wednesday, July 2, 2014 3:36:22 PM UTC+2, Łukasz Rekucki wrote: >> >> It doesn't just alter it, but makes it conform to HTTP standard. While >> most browsers will accept relative urls,

Re: Response Fixes

2014-07-02 Thread Łukasz Rekucki
On Jul 2, 2014 2:09 PM, "Aymeric Augustin" < aymeric.augus...@polytechnique.org> wrote: > > I find it wrong to alter the response created by the developer unconditionally and not provide any escape hatch. It doesn't just alter it, but makes it conform to HTTP standard. While most browsers will

Re: Great Wall of DEP

2014-05-08 Thread Łukasz Rekucki
evelopers/1d33bd04-a509-4c34-8bfe-2e4df31a3add%40googlegroups.com. > > For more options, visit https://groups.google.com/d/optout. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from thi

Re: Should there be a "is" comperator: {% if A is B %}?

2014-04-10 Thread Łukasz Rekucki
t; > > Gregor > > > 2014-04-10 11:41 GMT+02:00 Tino de Bruijn <tin...@gmail.com>: > >> Wouldn't this be easier?: >> >> {'required': "", 'name': 'fieldname'} => > /> >> >> {% for name, value in attrs.items %} {{ name }}{%

Re: [GSOC] Shifting to Py.Test and Improving the Test Suite

2014-04-06 Thread Łukasz Rekucki
On 6 April 2014 17:24, Andrew Pashkin wrote: > Some Pytest advocacy: > 1) Pytest has convenient tests collection options - you can just specify > folder to run all tests in it. It is also possible to filter tests by regex, > and select specific ones. Sounds good, but

Re: Enforce the use of a unicode string in settings.LANGUAGES

2014-01-22 Thread Łukasz Rekucki
O, It would be better for everyone if ugettext_lazy() and friends fail immediately when given anything other then text (unicode on Python 2, str on Python 3), but it's probably too late for that now. At least until Python 2 support is dropped completely. -- Łukasz Rekucki -- You received thi

Re: Ticket #21751 review requested

2014-01-19 Thread Łukasz Rekucki
nywhere? AFAIK, this is already the case as long as the wrapped cursor does it. [1]: https://bugs.pypy.org/issue736 -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and sto

Re: django.test.client: Improper POST requests

2013-08-29 Thread Łukasz Rekucki
. It's not a bug. As per documentation: If you provide content_type (e.g. text/xml for an XML payload), the contents of data will be sent *as-is* in the POST request, using content_type in the HTTP Content-Type header. This means that you're responsible for proper encoding the data parameter i

Re: django.utils.functional.cached_property

2013-08-08 Thread Łukasz Rekucki
a PR for the old one ? -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.co

Re: Proposal/Discussion: url and template search using the directory structure of apps within django sites

2013-05-30 Thread Łukasz Rekucki
possible and some major pitfalls. There is no gain in *disallowing* this. Personally I wouldn't use this as it's counter-intuitive and works in exact opposite to Python's import mechanism which by default does an absolute search (since 3.x). Regards, Łukasz Rekucki -- You received this message because

Re: Remote participation in sprints

2013-05-15 Thread Łukasz Rekucki
On 15 May 2013 20:29, Shai Berger wrote: > On Wednesday 15 May 2013, ptone wrote: > > On Wednesday, May 15, 2013 10:31:36 AM UTC-7, Daniele Procida wrote: > > > On Wed, May 15, 2013, Shai Berger > > > > > > > >Will there be an effective way to do this

Re: Perception of attitude in tickets

2013-05-13 Thread Łukasz Rekucki
system/tracker I sometimes see: -1 votes (setting WONTFIX is effectively a veto just like -1) without giving conditions for improvement to at least -0. Having a clear path of action (even a one that involves a lot of work) to convince the person vetoing your proposal is always better then just &qu

Re: Triaging: Close as needsinfo

2013-05-11 Thread Łukasz Rekucki
;needsinfo" is almost identical to "cannot reproduce" (aka "worksforme") and I can't think of a reason to keep such a bug open. Of course, there are people who will take everything personal. Even if it's getting your ticket closed by a stranger on a public bug tracker. -- Łukas

Re: Transforming django-admin.py to a shell script

2013-03-01 Thread Łukasz Rekucki
On 1 March 2013 22:38, Alon Nisser wrote: > at least from my windows exprience with Django (yes, I know this isn't a > common use case, but still) the current django-admin.py and manage.py do > need python preface to run right (while inside a virtualenv) I'm not 100% sure

Re: Charset for URL decoding (#19468)

2012-12-18 Thread Łukasz Rekucki
e case. After all, the %-coded bytes can be some binary data that's not possible to reasonably decode with any charset. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-dev

Re: Class based views: A standard hook for http-method-independent code (and a proposal for an init() method)

2012-11-05 Thread Łukasz Rekucki
to join the thread as they feel their views are represented. Personally, I don't see any big advantage of having a yet another init method, but OTOH I already replaced Django's view hierarchy with my own, as I needed a more advanced data flow. -- Łukasz Rekucki -- You received this m

Re: Admin UI improvement - actions displayed as buttons rather than drop-down list

2012-11-04 Thread Łukasz Rekucki
Hi, Isn't this https://code.djangoproject.com/ticket/19235 ? Regards, Łukasz Rekucki -- 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

Re: Django produce sql with table name different then specified in meta db_table

2012-10-31 Thread Łukasz Rekucki
name\"' > > This only works for unmanaged models. For managed models it results in an > error when it tries to create the sequence and trigger using syncdb. Why all the slashes ? Unless you specify r'' or make them double, they don't do anything! >>> '\"' == '"' Tru

Re: Django produce sql with table name different then specified in meta db_table

2012-10-31 Thread Łukasz Rekucki
rs to make them part of > the name. But -- save length issues -- the ploy succeeds: It seems none of the backends implement any form of quote escaping in their quote_name() methods. But is it actually possible to have a table in Oracle with a name containing a double quote? -- Łukasz Re

Re: Django produce sql with table name different then specified in meta db_table

2012-10-31 Thread Łukasz Rekucki
l into 30 char limit. PS. I'm pretty sure you want to have: db_table='"mnoworka"."defined_daily_dose"' If the name is already quoted, Django won't alter it. OTOH, see issue #18514 (which shouldn't be a problem if you have managed=False). [1]: https://code.djangopr

Re: URL dispatcher slow?

2012-10-11 Thread Łukasz Rekucki
and post if I find anything interesting. [1]: https://gist.github.com/3875701 -- Łukasz Rekucki -- 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 u

Re: django.test.client.Client tests in Django development?

2012-09-30 Thread Łukasz Rekucki
on to an unauthorized session in hope it will become authorized again can be anything but a bug. Regards, Łukasz Rekucki -- 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 u

Re: Breaking out localflavor

2012-08-16 Thread Łukasz Rekucki
t; models. I'm pretty sure everyone with South will still be pretty unhappy about updating all their migration files. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-d

Re: Python 3 - style question

2012-08-10 Thread Łukasz Rekucki
On 10 August 2012 18:56, Vinay Sajip <vinay_sa...@yahoo.co.uk> wrote: > I think Option 2 is better, for the reasons you state. > How about wrapping those 3 lines of code into a class decorator (preferably named more explicit then StrAndUnicode) ? That would be at least a little DRY.

Re: I think adding a "first" method to the QuerySet be useful.

2012-07-02 Thread Łukasz Rekucki
h (depends on DB): qs = User.objects.all() user = None if not qs else qs[0] F) Use the iterator protocol user = next(iter(User.objects.all()), None) # you can add LIMIT or not, see Alex's comment -- Łukasz Rekucki -- You received this message because you are subscribed to the Go

Re: FYI: Trac downtime today

2012-04-25 Thread Łukasz Rekucki
ts", etc. to do triaging. Now that I know I have access to it, I'm scared I'll break something be accident ;) -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to dja

Re: FYI: Trac downtime today

2012-04-25 Thread Łukasz Rekucki
On 25 April 2012 17:32, Jacob Kaplan-Moss <ja...@jacobian.org> wrote: > OK, done! Thanks for your patience. > > Jacob Am I supposed to see the "Admin" tab or did I just haven't noticed it before? -- Łukasz Rekucki -- You received this message because you are subscr

Re: GitHub migration planning

2012-04-18 Thread Łukasz Rekucki
ossibly want to have is a way to create extra constraints on the tags, but as a matter of fact, the current Trac instance doesn't do that! (you can have an issue with "tests needed" but without "patch needs improvement"). -- Łukasz Rekucki -- You received this message because

Re: Errors in tests

2012-04-11 Thread Łukasz Rekucki
e, it means it's a non-empty sequence that's not a subclass of dict, right? Did you manage to track what type of value it is? There must be a bug somewhere else too. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" g

Re: Ticket for Docs improvement Was: Proposal: upgrading the choices machinery for Django

2012-04-05 Thread Łukasz Rekucki
re. > That's not how it works. Code that executes when creating a new class does not define a lexical scope. There is no such thing as "class scope". Try it yourself: http://ideone.com/xbr0q -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups

Re: Ticket for Docs improvement Was: Proposal: upgrading the choices machinery for Django

2012-04-05 Thread Łukasz Rekucki
der] >> I' sure you meant: def greet(self): return {self.MALE: 'Hi, boy', self.FEMALE: 'Hi, girl.'}[self.gender] Unless you defined MALE/FEMALE as globals too :) Otherwise you'll get a NameError. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Grou

Re: Dropping django.utils.simplejson

2012-03-30 Thread Łukasz Rekucki
it, so you can decide about it at the project level. -- Łukasz Rekucki -- 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

Dropping django.utils.simplejson

2012-03-29 Thread Łukasz Rekucki
"django.utils.simplejson" in 1.5 and remove it 1.6 3) Replace the code with anyjson, so it does something useful: http://pypi.python.org/pypi/anyjson What do you think ? -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django de

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Łukasz Rekucki
On 27 March 2012 14:44, Łukasz Rekucki <lreku...@gmail.com> wrote: > On 27 March 2012 14:22, Shaggy <kfu...@gmail.com> wrote: >> >> and btw. is there repo for developing 1.5 with python3 support? >> > > AFAIK, not yet. There's a features/py3k branch

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Łukasz Rekucki
, not yet. There's a features/py3k branch, but I'm not sure if it's up to date with Tarek's bitbucket repo. My bet is that py3k merge will happen after the GitHub migration which everyone seems to be busy with ;) -- Łukasz Rekucki -- You received this message because you are subscribed to the Goog

Re: suggestion: Don't make the tag "url" dirty in Django1.5

2012-03-27 Thread Łukasz Rekucki
want to enable passing context variables as view names? Did you notice that almost everywhere in the template language literal strings are quoted? Technical arguments usualy work better then calling things "stupid". -- Łukasz Rekucki -- You received this message because you are su

Re: Tagging 1.4 django release in Subversion

2012-03-26 Thread Łukasz Rekucki
On 27 March 2012 03:01, Alex Gaynor <alex.gay...@gmail.com> wrote: > > > On Mon, Mar 26, 2012 at 9:00 PM, Łukasz Rekucki <lreku...@gmail.com> wrote: >> >> On 27 March 2012 02:44, Reinout van Rees <rein...@vanrees.org> wrote: >> > On 26-03-12 18:13, F

Re: Tagging 1.4 django release in Subversion

2012-03-26 Thread Łukasz Rekucki
gt; Well, it is the kind of magic that gets you burned at the stake for > witchcraft :-) > That only means it must be effective ;) As for the GitHub migration, I noticed this little repo[1]. Are you collecting only major contributors or is it open for pull requests ? [1]: https://github

Re: Status of issue 17758: dict ordering bugs

2012-03-22 Thread Łukasz Rekucki
:) -- Łukasz Rekucki -- 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 django-developers+unsubscr...@googlegroups.com

Re: Status of issue 17758: dict ordering bugs

2012-03-22 Thread Łukasz Rekucki
On 22 March 2012 16:54, Aymeric Augustin <aymeric.augus...@polytechnique.org> wrote: > Le 22 mars 2012 13:22, Łukasz Rekucki <lreku...@gmail.com> a écrit : >> If the whole patch can't be merged, lets at least fix that bug[2]. Is >> there any work I can do to make i

Re: Status of issue 17758: dict ordering bugs

2012-03-22 Thread Łukasz Rekucki
On 22 March 2012 13:38, Ramiro Morales <cra...@gmail.com> wrote: > 2012/3/22 Łukasz Rekucki <lreku...@gmail.com>: > > Maybe we should split these problem reports in their own tickets? > I can do it later today. There probably should be 3 tickets: the ORM bug, th

Status of issue 17758: dict ordering bugs

2012-03-22 Thread Łukasz Rekucki
/commit/84dc450ec861e34de068fde891537f0481342ef7 -- Łukasz Rekucki -- 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

Re: [GSOC 2012] Customizable serialization

2012-03-20 Thread Łukasz Rekucki
ration + presentation)? This is what most REST frameworks do. First you serialize the objects into Python native types, then render it to any format. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to

Re: authentication by email

2012-03-09 Thread Łukasz Rekucki
On 9 March 2012 21:10, Tom Evans <tevans...@googlemail.com> wrote: > 2012/3/9 Łukasz Rekucki <lreku...@gmail.com>: >> On 9 March 2012 17:46, Tom Evans <tevans...@googlemail.com> wrote: >>> >>> Lets look at one isolated aspect. The User email field i

Re: authentication by email

2012-03-09 Thread Łukasz Rekucki
quot;we don't want to have to fix this again" thing. [1]: http://tools.ietf.org/html/rfc5321#section-4.5.3.1.1 -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-

Re: The model class should have default ``__cmp__`` method.

2012-03-09 Thread Łukasz Rekucki
del can have an UUIDField as it's pk instead of a sequential integer). For making assertions about QuerySets, there already is assertQuerysetEqual(), so -1 on adding __cmp__ to Model. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django de

Re: Django participation in Google Summer of Code 2012

2012-03-08 Thread Łukasz Rekucki
at > means a large update (if not a reboot) of the py3k branch. > Why would you want to do that, when the py3k is already working with unicode_literals ? That's a step backwards. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Djan

Re: Revisiting multiline tags

2012-02-26 Thread Łukasz Rekucki
ters to the {% with %} and/or make an include with changed context. A year after, It turns out the use cases aren't so rare anymore. Now, if your blocktrans contains 10 variables and all have more then 2 dots in them, then maybe there are other reasons that it looks ugly then lack of multi-lin

Re: Revisiting multiline tags

2012-02-26 Thread Łukasz Rekucki
meone actually provides a patch with no performance hit. Really, we know people fork Django for their private use. If this is such a big deal, we should have at least one person using this in production for a while now and have an excellent quality patch to show. -- Łukasz Rekucki -- You received this mes

Re: Revisiting multiline tags

2012-02-24 Thread Łukasz Rekucki
On 24 February 2012 17:29, Łukasz Rekucki <lreku...@gmail.com> wrote: > With all the voting and aesthetic discussion, maybe let's get back to > technical details: > > On 24 February 2012 05:18, colinta <coli...@gmail.com> wrote: >> 1) It's an easy fix. > > Mayb

Re: Revisiting multiline tags

2012-02-24 Thread Łukasz Rekucki
If it was such a big issue, that LOTS would either spam this list or fork Django long ago. With a clear BDFL veto, it's better to search for an alternate solution then waste everyone's energy on a bikeshed. -- Łukasz Rekucki -- You received this message because you are subscribed to the G

Re: Django and dictionary ordering

2012-02-24 Thread Łukasz Rekucki
n 822.943s FAILED (failures=39, errors=1, skipped=109, expected failures=2) It's a bare install, so there may be more within the skipped ones. Most look harmless and only needs updating the testcases, so it doesn't require specific order. Created ticket https://code.djangoproject.com/ticket/17758 -

Re: Discrepancy involving choices with ModelForm and Form

2012-02-22 Thread Łukasz Rekucki
lready, so an extra label shouldn't surprise you. [1]: https://docs.djangoproject.com/en/1.3/ref/forms/fields/#django.forms.ModelChoiceField.empty_label -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, se

Re: Class-based view decorators

2012-02-17 Thread Łukasz Rekucki
that. The super() problem actually makes a great Python puzzle so it's easy to remember the dangers after solving it ;) [1]: https://code.djangoproject.com/ticket/14512 [2]: https://github.com/lqc/django/blob/cbvdecoration_ticket14512/tests/regressiontests/utils/decorators.py#L120 -- Łukasz Reku

Re: Moving to ... Github vs Bitbucket

2012-02-16 Thread Łukasz Rekucki
hink a few times more before sending that. Also, it wasn't my intention to "bash bitbucket" or anything like that so sorry for that too. I'll just shut up now and let the silence hide this thread. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Gr

Moving to ... Github vs Bitbucket

2012-02-16 Thread Łukasz Rekucki
or similar features... sometimes "similar" is not enough. I'm not a regular Bitbucket user, so I maybe just didn't discover that, but how can you add per line comments in patches on Bitbucket ? Without that, code reviews for non-trivial patches is a real PITA. -- Łukasz Rekucki -- You rece

Re: auth.User usernames

2012-02-15 Thread Łukasz Rekucki
GSOC), so that we can fix things like that. So the general solution would be doing that ;). Just changing it, helps new installations, but breaks old ones. PS. Since Facebook started generating fake addresses, 75 characters on the email field is also no good, so matching that doesn't solve any

Re: Feature Request: Client side validation classes for forms

2012-02-03 Thread Łukasz Rekucki
.dajaxproject.com/ does exactly that. What I would like to see instead is providing HTML5 attributes for standard fields and making it easier to add ones to custom ones. Some simple to implement ones are: "required", min/max for number fields, max_length for a textarea. Regular expr

Re: Feature request: Unicode collation algorithm in django

2012-02-02 Thread Łukasz Rekucki
2012/2/2 Łukasz Rekucki <lreku...@gmail.com>: > On 2 February 2012 03:34, Anssi Kääriäinen <anssi.kaariai...@thl.fi> wrote: >> >> Now, my proposed solution would be to have some way of doing: >> SELECT name, ... >> FROM authors >> ORDER BY name collate

Re: Feature request: Unicode collation algorithm in django

2012-02-02 Thread Łukasz Rekucki
llate.html [2]: SQLite doesn't support UCA by default, but lets you define any collation: http://docs.python.org/library/sqlite3.html#sqlite3.Connection.create_collation [3]: http://docs.oracle.com/cd/B19306_01/server.102/b14225/ch9sql.htm#i1006311 -- Łukasz Rekucki -- You received t

Re: Feature request: Unicode collation algorithm in django

2012-02-01 Thread Łukasz Rekucki
y from the database, > with django itself providing some version of the Unicode collation > algorithm: > > http://unicode.org/reports/tr10/ > > This might hook into django's internationalization and localization > features, and/or be accessible at a lower level, e.g., with a keywo

Re: End-user defined fields, how would you approach it?

2012-01-29 Thread Łukasz Rekucki
this list, we have the right to > discuss things which feels on topic with this list without being > discriminated for no reasons. > You're not discriminated - everyone is treated the same way here and judged only by their actions. By disobeying the rules of this list, you're disrespectin

Re: DoS using POST via hash algorithm collision

2012-01-19 Thread Łukasz Rekucki
n 32-bit/64-bit Python, i'm not sure there are even any or we would get a report on that, wouldn't we ?). I think it's important for the Django core team to voice their opinion on this matter in python-dev. Thank you!, Łukasz Rekucki -- You received this message because you are subscribed to th

Re: Read only Test Was: Speeding up tests

2012-01-17 Thread Łukasz Rekucki
tests are really read only ? If yes, I would be interested. If no, then (sorry to say this), but the "read-only" part is only wishful thinking. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post

Re: Clearing cache between tests (#11505)

2011-10-30 Thread Łukasz Rekucki
flag doesn't solve the memcached issue, right? IMHO, it only adds to the false impression that you can have any control on what gets flushed by memcached. I also agree with Aymeric that not clearing cache state is a bug. Having a flag to fix/restore buggy behaviour seems weird. -- Łukasz Reku

Re: deprecation vs removal

2011-10-02 Thread Łukasz Rekucki
Z" wording (which implies it may be removed in any (Y+m).(Z+1+n) n,m>=0 version). -- Łukasz Rekucki -- 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.c

Re: Django test documentation example not respecting xUnit convention

2011-09-21 Thread Łukasz Rekucki
don't have any failing tests to look at right > now. YAY! :) > Matt. My Python 2.7 says: self.assertEqual(result['active'], 2) AssertionError: 1 != 2 So, no. The message in Python is order agnostic. -- Łukasz Rekucki -- You received this message because you are subscribed to the

Re: Django test documentation example not respecting xUnit convention

2011-09-21 Thread Łukasz Rekucki
t;? Where's the consistency in that? > My guess is that the choice is somehow connected to Yoda conditions, where you actually write: if(5 == x) { ... } to avoid assigning 5 to x by mistake. If you write all your conditions like that, then the assert order makes sense. But Python thankfully doesn

Re: ManyRelatedManager with explicit intermediary model

2011-09-20 Thread Łukasz Rekucki
ts.create() >    u = User.objects.create_user('roald', 'downa...@gmail.com', 'password') > > >    # these things I can't do: >    m.users.add(u) >    m.users.add(u, comment='Blablabla') > > Cheers, Roald > I'm 100% sure there's *at least one* ticket for this. You jus

Re: RFC: "universal" view decorators

2011-09-16 Thread Łukasz Rekucki
On 16 September 2011 10:17, Roald de Vries <downa...@gmail.com> wrote: > On Sep 16, 2011, at 12:11 AM, Łukasz Rekucki wrote: >> >> As the ticket creator I feel obligated to reply :) > > Me (as the poster of the latest patch) too :) Nice to meet you. > >> Think

Re: RFC: "universal" view decorators

2011-09-16 Thread Łukasz Rekucki
osal on this list before introducing CBV. It didn't gain much love. -- Łukasz Rekucki -- 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

Re: RFC: "universal" view decorators

2011-09-15 Thread Łukasz Rekucki
rs+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-developers?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post to this grou

Re: RFC: "universal" view decorators

2011-09-15 Thread Łukasz Rekucki
2011/9/16 Łukasz Rekucki <lreku...@gmail.com>: > Hi, >> I believe, however, I've figured out a different technique to make >> this work: don't try to detect bound versus unbound methods, but >> instead look for the HttpRequest object. It'll either be args[0] if >>

Re: RFC: "universal" view decorators

2011-09-15 Thread Łukasz Rekucki
to Django? > It would be great to have that meta-decorator, so everyone else could upgrade their decorators just by decorating them. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, se

Re: Storing IP address as integer within database to remove need for full text search

2011-07-18 Thread Łukasz Rekucki
it. There is also the problem of signed int. PS. Cross-posting like this to django-users and django-developers is probably not a good idea as people on django-users will send emails here by accident. -- Łukasz Rekucki -- You received this message because you are subscribed to the Google Groups &quo

Re: Why does the test handler call sys.exit()?

2011-04-27 Thread Łukasz Rekucki
None) == False, so it wouldn't be backwards compatible. -- Łukasz Rekucki -- 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 em

Re: Fixing makemessages for Javascript

2011-04-19 Thread Łukasz Rekucki
that ? How does your application help me handle client-side translations ? -- Łukasz Rekucki -- 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 unsubscr

Re: Fixing makemessages for Javascript

2011-04-14 Thread Łukasz Rekucki
modified since it relies on Python's gettext module to load the > translations. By 'locale interface' I actually meant the CLDR. Django's "localflavor/**/formats.py" mostly duplicates information provided by Babel. -- Łukasz Rekucki -- You received this message because you are sub

Re: Fixing makemessages for Javascript

2011-04-14 Thread Łukasz Rekucki
. Whether we do this in the release branch or in > trunk I don't care. Following this metaphor, it's autumn, it's raining and the materials for a new roof won't be coming until late winter, so covering the bikes with a some tilt, so they don't rust might be a good idea :P **You ment

Re: Fixing makemessages for Javascript

2011-04-14 Thread Łukasz Rekucki
ng existing bug and doesn't touch any public APIs. I tested the patch on my code with good results. -- Łukasz Rekucki -- 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

Re: Error importing template source loader when upgrading from r15883 to r16025

2011-04-13 Thread Łukasz Rekucki
f you're on python >= 2.7, try running "python -W manage.py runserver". -- Łukasz Rekucki -- 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. T

Re: Fixing makemessages for Javascript

2011-04-04 Thread Łukasz Rekucki
t is tricky.  I need help finding diabolical > test cases for my lexer (https://bitbucket.org/ned/jslex).  Anyone care to > come up with some Javascript source that it can't properly find the regex > literals in? I'll give it a spin on my code :) Thanks for doing this! -- Łukasz Rekuc

Re: Bug when generating sql for single (AND: (EverythingNode))

2011-04-04 Thread Łukasz Rekucki
()[1], but I'm not sure how you can make a Query object with "self.where" attribute that would evaluate to False. [1]: http://code.djangoproject.com/browser/django/trunk/django/db/models/sql/query.py#L478 -- Łukasz Rekucki -- You received this message because you are subs

Re: uWSGI documentation

2011-04-02 Thread Łukasz Rekucki
pp on uWSGI, not compare it against other solutions. You also mention some features, but never show how to enable/use them which is confusing. PS. Do you think having a `runuwsgi` command similar to `runfcgi` would be useful ? -- Łukasz Rekucki -- You received this message because you are subscr

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

2011-04-01 Thread Łukasz Rekucki
this work. You > may be removed again, but with all the great triaging work you've been > doing I imagine you ought to stay there. Thanks. I noticed the email after about 20 tickets, so sorry for all that emails. -- Łukasz Rekucki -- You received this message because you are sub

Re: Purpose of django.test.simple.reorder_suite

2011-03-31 Thread Łukasz Rekucki
On 1 April 2011 00:58, Karen Tracey <kmtra...@gmail.com> wrote: > 2011/3/31 Łukasz Rekucki <lreku...@gmail.com> >> >> I just started updating my custom TestSuiteRunner to Django 1.3 and it >> seems that reorder_suite() is broken. At least I think it is, becaus

Purpose of django.test.simple.reorder_suite

2011-03-31 Thread Łukasz Rekucki
and rename to flatten_suite() ? -- Łukasz Rekucki -- 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 django

Re: Proposal: switch to HTML5 for bundled templates

2011-03-30 Thread Łukasz Rekucki
the doctype and input elements' types. -- Łukasz Rekucki -- 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 django-de

Re: State of X-Sendfile support?

2011-03-25 Thread Łukasz Rekucki
TA. > -1 on guessing anything, especially something that doesn't change. Also, a fairly common configuration is Apache behind an nginx proxy. In this setup, I want nginx will be the one serving static files, not Apache. -- Łukasz Rekucki -- You received this message because you are subscri

Re: secret key from file...

2011-03-21 Thread Łukasz Rekucki
proposing. Do you want to change the default project template or the docs ? -- Łukasz Rekucki -- 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

Re: Django urls in JavaScript

2011-03-17 Thread Łukasz Rekucki
les didn't had an option to include dynamically generated content. -- Łukasz Rekucki -- 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 uns

Re: Composite primary keys

2011-03-17 Thread Łukasz Rekucki
are defined in the same class before the CompositeField: http://ideone.com/LPNzS -- Łukasz Rekucki -- 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 gr

Re: Wrong error message when user having is_staff=False tries to login to admin

2011-03-14 Thread Łukasz Rekucki
ib.admin.AdminSite.login_form PS. If you're really concerned about messages from admin you should be really outraged by _("Your e-mail address is not your username. Try '%s' instead.") % user.username -- Łukasz Rekucki -- You received this message because you are subscribed to the Google

Re: Wrong error message when user having is_staff=False tries to login to admin

2011-03-11 Thread Łukasz Rekucki
trator of the system. Ordinary users shouldn't even know that the admin interface exists. I can imagine a confused staff memeber, that didn't got his account activated properly, but this can be fixed by putting extra help on your admin's login page, imho. -- Łukasz Rekucki -- You received this m

  1   2   >