Django Rest Framework test fails or passes, depending on number of functions in APITestCase class

2019-10-24 Thread Conor
quest, user=user) response = view(request, pk="2") self.assertContains(response, 'audio') self.assertEqual(response.status_code, status.HTTP_200_OK) I'm going slightly crackers trying to find out what's going run, but I am completely out of i

Re: Bug or Feature: Trailing Slash appended to two places in a URL

2019-10-21 Thread Conor
ether APPEND_SLASH is True or False, and the second is where does the space come from in the rendered URL when APPEND_SLASH is False. Anyway, to make a long story short I have submitted a bug report. I'll update this thread when I get an answer. Cheers, Conor On Monday, October 21, 2019

Bug or Feature: Trailing Slash appended to two places in a URL

2019-10-19 Thread Conor
about Django's APPEND_SLASH feature, I think of the final URL, the one that the user will see, not of two separate URLs that are being put together to make the final product. Please let me know your thoughts and if you think it is a bug or not. Cheers, Conor -- You received this mes

Re: template for "Pagination for admin inlines" snippet

2013-02-05 Thread Conor Pollock
I'm currently trying to figure this out as well... I can pass a page query in the url and everything works as expected, but I can't figure out how to render the pagination controls in my template file. Did you ever get this to work? On Monday, 8 October 2012 10:37:09 UTC-4, axel...@chaos1.de w

Curious 500 errors

2011-01-07 Thread Conor
Hello, I am new to Django and working on integrating it with MailChimp. I am implementing call back handlers for their Web Hooks. This should be just views. Anyway, I am testing running the dev server and seeing that the views are called just fine for GET requests, but for POST requests, all I see