#33478: Change get_or_create input parameters
------------------------------------------------+------------------------
               Reporter:  MojixCoder            |          Owner:  nobody
                   Type:  Cleanup/optimization  |         Status:  new
              Component:  Uncategorized         |        Version:  4.0
               Severity:  Normal                |       Keywords:
           Triage Stage:  Unreviewed            |      Has patch:  0
    Needs documentation:  0                     |    Needs tests:  0
Patch needs improvement:  0                     |  Easy pickings:  0
                  UI/UX:  0                     |
------------------------------------------------+------------------------
 currently in Django we have `get_or_create(defaults=None, **kwargs)`,
 which works fine.
 But what if our model has a field called `defaults`.
 Then how can we query by that field.
 Maybe we should change `defaults` to `_defaults`?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33478>
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/053.1065b355984436ca46f0863c74584c7b%40djangoproject.com.

Reply via email to