db.models.options help with a piece of code analysis.

2016-01-15 Thread Elton Pereira de Lima
What's up guys! I am studying the core of django and I came across a piece of code that confused me. https://github.com/django/django/blob/master/django/db/models/options.py#L192-L194 If meta_attr is a copy of self.meta .__ dict__, then when will the marked section will run? Thanks! -- You

Re: Form field labels change proposal

2016-01-15 Thread sven
It has been said before but CSS was made for this and we should not mix content with design. I'd like to see this implemented with or without the deprecation path. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)"

Re: db.models.options help with a piece of code analysis.

2016-01-15 Thread charettes
Hi Elton, >From a quick look this branch seems to handle attributes inherited from possible `Meta` bases. e.g. class Foo(models.Model): class Meta: app_label = 'app' class Bar(models.Model): class Meta(Foo.Meta): pass assert 'app_label' not in Bar.Meta.__dict__ assert B

Fellow Report - January 16, 2015

2016-01-15 Thread Tim Graham
Triaged --- https://code.djangoproject.com/ticket/26069 - Docs for MyModel._meta.get_fields_with_model() missing info about 'is_relation' (accepted) https://code.djangoproject.com/ticket/26066 - Admin changelist could handle a table wider than the screen more elegantly (accepted) https