python - define 2 GET ABSOLUTE URL method -


can use 2 times? solution?

this code:

def get_absolute_url(self):     return reverse('vehicule_app:container-view')  def get_absolute_url(self):     return reverse('vehicule_app:details', kwargs={'pk' : self.pk})` 


Comments

Popular posts from this blog

How to understand 2 main() functions after using uftrace to profile the C++ program? -

c# - Update a combobox from a presenter (MVP) -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -