On Fri, Feb 19, 2016 at 5:51 AM, <[email protected]> wrote:
> Hi,
>
> I'm having a strange issue with Django 1.9 and Django Rest Framework 3.3.
> Most of the upgrade went well apart from one endpoint failing for a reason
> I can't figure out myself.
>
> Here's the traceback:
>
> Traceback (most recent call last):
> File "/home/ubuntu/something/sfm/somethingelse/tests/test_account.py",
> line 54, in test_get_banks
> response = self.client.get(reverse('somethingelse-settlement-list'))
>
>
Can you run the shell and see what the result of reverse('
somethingelse-settlement-list')?
Also, this SO post seems to have a resolution for this problem:
https://github.com/tomchristie/django-rest-framework/issues/1295
Looks to be an issue between reverse and the setup in urls.py.
-James
--
You received this message because you are subscribed to the Google Groups
"Django users" 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].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CA%2Be%2BciWmM-tRG2qu7Avnsdf39eZpJH4DMnBXW2SWV-rnFwrvSg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.