Import self.constants django
How to import constants like:
POST_URL = reverse('post', kwargs={'username': self.post.author, 'post_id': self.post.id})
form file to the main test file?
While I try to use is is see a error:
NameError: name 'self' is not defined