Pull requests waiting for review

2017-04-04 Thread Anton Samarchyan
Hello, I have several PRs which have been completed but haven't been entirely reviewed/accepted yet. Some of them are haven't been reviewed for over a month. So this is just a reminder. Here's a full lists of all my commits which pass all of the tests and have no conflicts: - https://github

Problem with running tests with mysql database.

2017-03-10 Thread Anton Samarchyan
I have a pull request in which some tests for some of environments are failing. (it's fine for the default tests with sqlite and some others) - https://github.com/django/django/pull/7994 Now, I am trying to run the tests with the database set to mysql. I added a file settings_mysql.py which

FEATURE REQUEST: Choices overriding in a classes, which inherit abstract class

2016-08-25 Thread Anton Ponomarenko
>From the doc: "Abstract base classes are useful when you want to put some common information into a number of other models". In my current project I put all common fields in abstact class, but those fields that use 'choice' option may have different choices in different child classes. Code Exa

Django's model_to_dict(...) should return ALL fields, including hidden

2015-08-07 Thread Anton Danilchenko
best name for this additional argument. Please find these two tickets - on djangoproject.com <https://code.djangoproject.com/ticket/25198> and on github.com <https://github.com/django/django/pull/5070> Thank you! Anton -- You received this message because you are subscribed to the G

Re: does django-admin need a man page?

2014-11-26 Thread Anton Baklanov
this group at http://groups.google.com/group/django-developers. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-developers/4D909BC0-48D2-4064-B8EC-8B70903F2474%40polytechnique.org > . > For more options, visit https://groups.google.com/d/optout. > -- Regards,

Re: Ability to save 4xx messages to database

2013-04-11 Thread Anton Strogonoff
(A side-note, you actually can use Sentry for 404s as well with contrib middleware. It does the job, although for one project we re-implemented it to log 404s as DEBUG messages instead of INFO, just copied the class and changed a

Re: MySQL, Django 1.6, Python3

2013-03-11 Thread Anton
too. It seems that oracle has rediscovered python, but no one knows how long. Anton Aymeric Augustin wrote: > On 11 mars 2013, at 00:32, Norberto Bensa > wrote: > >> I wanted to run Django with Python 3 but mysql was a showstopper until >> today. > > > Hi Norbe

Re: Redesign of djangoproject.com?

2012-05-02 Thread Anton Strogonoff
e page is optimized for, the harder it is for a visitor to make a decision. http://muddylemon.com/2012/03/creating-effective-landing-pages/ explains that. Although it perhaps deals with landing pages of different sort, IMHO some principles are still applicable to general landing page design. --

Re: About the django-core mailing list

2010-09-09 Thread Anton Bessonov
I would say that any information on why a structure exists is good. There is no difference have developers a confidential list, a chat or they communicate by phone, right? It has no relation to structure. It is a natural way for the decision not public problems. -- You received this mes

Re: About the django-core mailing list

2010-09-09 Thread Anton Bessonov
I disagree. Although it is normal for a project to have private mailing lists, such as -security You disagree, but it is normal? Decide for you first. I'm very glad Jacob took the time to explain the need for its presence in Django. There is a difference about knowledge of the confidential lis

Re: About the django-core mailing list

2010-09-09 Thread Anton Bessonov
+1. Explaining existence of private core-list is needless. But also +1 for other points in Eric's presentation. Thanks Jacob, I don't understand why we are discussing about it. It's quite obvious that if there is a core team, there's also a mailing list. S -- You received this message b

Re: 1.3: Start deprecating mod_python?

2010-06-23 Thread Anton Bessonov
Hey folks, While people are throwing around 1.3 ideas... I think we should start the process of deprecating and removing support for mod_python. Why? * mod_wsgi is better in every way. And? Jinja2-Template Engine is every way better as Django Template Engine. Drop DJango Template Engine a

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-17 Thread Anton Bessonov
Why wouldn't a AnonymousUser have permissions? Basically, this is senseless. For some photo's you might want to disable rating and/ or commenting. How often it is required to the user? In 99% of cases it is enough specify in an album "can" or "can not". It's really overkill of features.

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-15 Thread Anton Bessonov
No. You need row based permissions if You will limit User(!) rights. For example user can edit entries with FK 2. See http://code.djangoproject.com/wiki/RowLevelPermissions But AnonymousUser (Guest) don't have any permissions. It's a special and that the guest can - it's not a permission - it'

Re: AnonymousUser has_perm/has_module_perms function check authentication backends

2010-01-15 Thread Anton Bessonov
Hello, It's a false place. All what you need - one Model for Settings. if SettingsModel.objects.get(code='guest_can_comment'): can_post else: cant_post You can wrap this in one decorator function. Harro schrieb: Because the authentication backend now allows for role based permissions you mi

Re: can anybody help me whats the wrong...

2009-12-29 Thread Anton Bessonov
Hello, here is django-developers, not python-tornado ) 'chiru'tha schrieb: > Hi to all, > when i' running the helloworld example, i get this error.. But when i > remove the statements corresponds to the options.py module its > working fine.. > and one thing is when i run the same code with o

Re: Which textmate django bundle?

2009-12-23 Thread Anton Bessonov
VIM. django-dev is for discussion of developing Django itself! zweb schrieb: > I see there are multiple django bundles for textmate. > > Which is the best one you recommend? > > -- > > You received this message because you are subscribed to the Google Groups > "Django developers" group. > To post

Re: ANNOUNCE:- ibm_db_django-0.1.4 IBM Dataservers backend support for Django 1.1 Released

2009-11-07 Thread Anton Bessonov
Please don't write "ANNOUNCE". This make no sense and seems ugly. Tarun Pasrija schrieb: > Mistakably I have missed the What's New section so here is goes:- > > What's New?? > - > > This version has added support for the following- > - ZOS support included > - ibm_db google co

Re: NDjango - .Net port of Django template langauage

2009-09-22 Thread Anton Bessonov
Hello, if you need template engine only, then make more sence to port pure template engine such as jinja2. IMHO. Michael Feingold schrieb: > I am working on NDjango project. NDjango is a port of Django template > language to .Net. It is an open source project. If you are curious you > can get a

Re: HTTP Errors

2009-07-27 Thread Anton Bessonov
Using e.x. raise Http404 isn't clean solution. Is a very ugly shortcut. So you can return always a 404-view. All other unhandled errors given 500 - is general server error for _unhandled_ exception. Maybe I was wrong, but using exceptions is not pretty way. Jonas Obrist schrieb: > It probably

Re: HTTP Errors

2009-07-27 Thread Anton Bessonov
http/__init__.py describe Http404 Exception as: class Http404(Exception): pass You can make own Exception: class Http403(Exception): pass For 403 Response do you have HttpResponseForbidden in other Hand. Jonas Obrist schrieb: > I don't quite understand why I can raise a Http404 but no