tickets: 8408
This data as json
id | created | changetime | last_pulled_from_trac | stage | status | component | type | severity | version | resolution | summary | description | owner | reporter | keywords | easy | has_patch | needs_better_patch | needs_tests | needs_docs | ui_ux |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
8408 | 2008-08-19 07:09:11 | 2021-11-03 09:40:45 | 2022-03-06 03:42:11.159268 | Accepted | new | contrib.admin | New feature | Normal | dev | Add a new meta option: don't do count(*) in admin | Hello, everytime when I use Admin to view a table, the Admin count the rows in the table. if the database is mysql+innodb, this step is very slow, how about add an option in Meta to prevent this, such as {{{ #!python class A(models.Model): class Meta: do_not_count = True }}} thanks | tchaumeny | lidaobing | 0 | 1 | 1 | 1 | 0 | 0 |