Test Django with error tracebacks

2015-11-16 Thread Andrei
ually, we don't use it there because the jenkins test runner isn't compatible [15:06] I find it pretty useful for local development Andrei -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. T

Updates to gCBV docs and small changes to gCBV code

2015-04-17 Thread Andrei Kulakov
looking for feedback on general approach, on my implementations of the custom views, on the two pull requests, and on the draft in the wiki. I can package up a project with these views and all related modules / templates if needed. Thanks! - Andrei -- You received this message because you

Re: Django should load custom SQL when testing

2012-07-29 Thread Andrei Antoukh
> -- > 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...@googl

Re: Django should load custom SQL when testing

2012-07-26 Thread Andrei Antoukh
they are not applied before to the DB. > The idea is that you could define the raw SQL only once, and it would > be applied both to testdb on sync, and to production db on migrate. > > Still another idea: maybe we want to take the easy route and add > special "pre_sync/post_sync&quo

Re: About: Feature request: Comments in Django models saved to database schema

2012-07-26 Thread Andrei Antoukh
2012/7/24 Anssi Kääriäinen > On 22 heinä, 23:01, Andrei Antoukh wrote: > > Hello! > Hello! > > > > I started working on what had been proposed. In the commithttps:// > github.com/niwibe/django/commit/af887029integeintege614ca53d8...< > https:

Re: About: Feature request: Comments in Django models saved to database schema

2012-07-22 Thread Andrei Antoukh
them arguments. Thank you very much! Andrey Antukh 2012/7/9 Andrei Antoukh > 2012/7/9 Anssi Kääriäinen > >> On 7 heinä, 22:25, Andrei Antoukh wrote: >> > Hello! >> > >> > I am writing about the issues: >> https://code.djangoproject.com/ticket/13867

Re: About: Feature request: Comments in Django models saved to database schema

2012-07-09 Thread Andrei Antoukh
2012/7/9 Anssi Kääriäinen > On 7 heinä, 22:25, Andrei Antoukh wrote: > > Hello! > > > > I am writing about the issues: > https://code.djangoproject.com/ticket/13867https://code.djangoproject.com/ticket/18468 > > > > I am not the author of these

About: Feature request: Comments in Django models saved to database schema

2012-07-07 Thread Andrei Antoukh
ny kind of magic by django, a simple attribute "comment" on object "Meta". My initial proposal for postgresql implementation: https://github.com/niwibe/django/tree/issue_18468 Andrei Antoukh PD: sorry for my poor inglish -- Andrei Antoukh - http://www.niwi.be/page/about/

Re: Django git guidelines

2012-05-18 Thread Andrei Antoukh
re used > for feature requests or work-in-progress patches we risk having lots > of open tickets and lots of open pull requests. > > I have tried to gather pieces of wisdom around the net. I am not too > experienced with Git, so if you have experience with the above > mentioned an

Re: Test suite for session backend

2012-05-02 Thread Andrei Antoukh
uld like to see if it passes the tests. > > JG > Hi! What you're programming, already implemented in mongoengine: https://github.com/MongoEngine/mongoengine/tree/master/mongoengine/django Andrei. -- http://twitter.com/niwibe http://www.freebsd.org/ http://www.p

Re: Django UnicodeEncodeError in errorlist

2012-04-27 Thread Andrei
Hi Thomas, You seem read my email too quickly. I do use u'å'. In force_unicode() and lazy() Django runs str(u'å') which results in the exception(s). If it would use smart_str instead, the exception would not happen. Am I missing something? Andrei On Friday, April 27, 2

Django UnicodeEncodeError in errorlist

2012-04-26 Thread Andrei
ndering the message from the first one. Am I mistaken? Django version: 1.3.1 (but this seems to happen in 1.4 as well) Full traceback: https://raw.github.com/gist/2499077/ba60cb752acdb429dd6c2814ffb24272037a367a/UnicodeEncodeError.txt Thanks, Andrei -- You received this message because you are subsc

Re: Automatically add project path to sys.path for all handlers

2008-05-10 Thread Andrei
te: > On May 9, 9:06 am, Graham Dumpleton <[EMAIL PROTECTED]> > wrote: > > > > > On May 8, 10:07 pm, Andrei <[EMAIL PROTECTED]> wrote: > > > > I think it would be useful to add the path to the project > > > automatically to sys.path. I can'

Automatically add project path to sys.path for all handlers

2008-05-08 Thread Andrei
I think it would be useful to add the path to the project automatically to sys.path. I can't think of a situation in which I wouldn't need to change the pythonpath and my project still would work. You need to have the applications in the path in order for the import to work and why shouldn't that