Re: Open source contribution

2022-01-08 Thread frank lucky
hi find simple project on github and try it and make change you like like weblog or online store like greatkart project have nice coding On Sat, Jan 8, 2022 at 6:34 PM Tahsin Zisan wrote: > I am not sure if this is the right place to ask for this. So I apologize > in advance > >

Re: #18557: get_or_create() causes a race condition with MySQL

2012-09-05 Thread lucky
среда, 5 сентября 2012 г., 5:32:44 UTC+6 пользователь Anssi Kääriäinen написал: > > > > On 4 syys, 17:53, lucky <e.genera...@gmail.com> wrote: > > *E) Use locking with SELECT query* > > According tohttp:// > dev.mysql.com/doc/refman/5.5/en/innodb-consistent

Re: #18557: get_or_create() causes a race condition with MySQL

2012-09-04 Thread lucky
*E) Use locking with SELECT query* According to http://dev.mysql.com/doc/refman/5.5/en/innodb-consistent-read.html If you want to see the “freshest” state of the database, use either the READ COMMITTED isolation level or a locking read: SELECT * FROM t LOCK IN SHARE MODE; It locks the SELECT

How to serve staticfiles with full URL for local development?

2012-05-05 Thread lucky
There was a snippet to display a content of response in browser during debugging http://miniblog.glezos.com/post/3388080372/tests-browser . "One of the first issues you might face is seeing a style-less page. This happens becuase the test server isn’t really a web server, and you’re probably

Re: Proposal for a new templatetag definition syntax

2011-09-12 Thread lucky
Hello, Alex, I agree with Wim Feijen. The ability to implement a arbitrary syntax for tag parameters is too abstract problem and this causes an increase in the complexity of the solution. Tag delelopers are forced to define a grammar and deal with lexing and parsing. End users must to learn and

Re: r15401 and removing star imports

2011-02-05 Thread lucky
Look at the http://code.djangoproject.com/browser/django/trunk/django/conf/urls/defaults.py#L4 . There are __all__ = ['handler404', 'handler500', 'include', 'patterns', 'url'] It seems as you forgot to add 'handler404' and 'handler500'. Whats about handlers? On Feb 4, 10:50 pm, Carl Meyer

#14471: Are there any plans to fix this in the 1.3?

2010-10-23 Thread lucky
Hi guys, Starting from django-1.2 it is impossible to override many methods in custom model manager classes due changes in the implementation of the RelatedManager and the ManyRelatedManager . These classes are define methods `add`, `create`, `get_or_create`, `remove` and `clear` in a such way