#21338: Can't use the same class name for proxy models
-------------------------------------+-------------------------------------
     Reporter:  srenskiy@…           |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  1.4
  (models, ORM)                      |               Resolution:  needsinfo
     Severity:  Normal               |             Triage Stage:
     Keywords:  model                |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------

Comment (by srenskiy@…):

 I don't want use same name for models in one class. Assume we have these
 "modules" package:
 {{{
 models
   receipts
     __init__.py
     google_play.py
     app_store.py
   __init__.py
   receipt.py
 }}}
 My propose is in fact that both modules "google_play" and "app_store" have
 models with name "Receipt" which inherit base model "Receipt" from module
 "receipt".

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21338#comment:6>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/076.aef46681af87be7119d8ecfd30405adf%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to