Skip to content
Snippets Groups Projects
Commit 3aa1c722 authored by Sylvain Le Bon's avatar Sylvain Le Bon
Browse files

update: dynamically add urlid on all models

parent 15d27468
No related branches found
No related tags found
1 merge request!259New permissions
Pipeline #16111 failed
......@@ -234,6 +234,7 @@ class Model(models.Model):
except:
return False
models.Model.urlid = property(lambda self: '{}{}'.format(settings.SITE_URL, Model.resource(self)))
class LDPSource(Model):
federation = models.CharField(max_length=255)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment