mirror of
https://github.com/daniviga/django-ram.git
synced 2025-10-19 09:00:32 +02:00
Fix consists pagination and remove hardcoded urls
This commit is contained in:
@@ -27,6 +27,9 @@ class Consist(models.Model):
|
||||
def get_absolute_url(self):
|
||||
return reverse("consist", kwargs={"uuid": self.uuid})
|
||||
|
||||
class Meta:
|
||||
ordering = ["creation_time"]
|
||||
|
||||
|
||||
class ConsistItem(models.Model):
|
||||
consist = models.ForeignKey(
|
||||
|
Reference in New Issue
Block a user