#29779: url calling the wrong function
------------------------------------------------+------------------------
               Reporter:  sun0HnnN4475de8ZIZLG  |          Owner:  nobody
                   Type:  Uncategorized         |         Status:  new
              Component:  Uncategorized         |        Version:  2.1
               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                     |
------------------------------------------------+------------------------
 In urls.py, I have 6 urls which return JsonResponse.
 3 of the names started with json_rows_, say json_rows_A, json_rows_B,
 json_rows_C
 3 of the names started with json_column_defs_, say json_column_defs_A,
 json_column_defs_B, and json_column_defs_C

 The first 3 urls all returned the same result corresponding to
 json_rows_A.
 The last 3 urls all returned the same result corresponding to
 json_column_defs_A.

 If I commented out json_rows_A and json_column_defs_A, then the url alls
 all returned the JsonRepsonse associated with the B urls.

 I found a workaround making sure that the urls had unique prefixes, but am
 perplexed on why the wrong data was being returned.
 Any idea what may be causing this bug?

 I was using Django 2.0.2 and just upgraded 2.1.1 in hopes that the upgrade
 might solve this issue.  I am using Version 69.0.3497.100 (Official Build)
 (32-bit), and also tried clearing all caches multiple times.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29779>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/063.83149c0b0e556a09c7694e082a57b22a%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to