Could you please make the video on how to work with the Docker+DjangoTests I stuck on this error. Got an error creating the test database: database "test_postgres" already exists. And I think It is because of lack of knowledge in this district.
okay you had already answerd that in another question. Just for people looking for it like me I will write it here, here is an example: url = reverse("ranks_app:change_customer_rank", args=[1]) ----- so the args=[1] will represent a customer id
what if I have this kind of url: (url(r'^$', views.index, name='index')). What should I put on the reverse statement, I put reverse('index') but it says that there is not reverse match. :C
if there is a namespace, the syntax is: reverse(':'). So, if the namespace was 'budget' and the path name is list, then it would be: reverse('budget:list').
@@thedumbfounds767 thank you very much.But i have come across another error. How to write reverse if i have pass arguments for function? I tried response = self.client.get(reverse('customer:review'),categ=[1],product=[2]) for path('review///',views.reviewtext,name='review')