Changes between Initial Version and Version 1 of Ticket #27264
- Timestamp:
- Sep 23, 2016, 9:38:18 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #27264 – Description
initial v1 5 5 does not work correctly, 6 6 7 from django.db import models 7 8 {{{ 9 from django.db import models 8 10 9 11 class BaseCategory(models.Model): … … 21 23 ordering = ['name'] 22 24 db_table = 'samble' 25 }}} 26 23 27 24 28 Category.Meta.ordering is equal to ['title'], Category.Meta.db_table is … … 28 32 A stranger behavior is when `abstract = True` is added to the subclass : 29 33 30 class Category(BaseCategory): 34 35 {{{ 36 class Category(BaseCategory): 31 37 32 38 name = models.CharField(max_length=100) … … 36 42 ordering = ['name'] 37 43 db_table = 'sample' 44 45 }}} 38 46 39 47 Now the behavior is correct (if abstract was not set) :