mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 11:27:09 +00:00
fix: Only allow users to create rels as source
There is now no field for users to define the source of a relationship The source is always the person in the URL And only that user or staff can access the form
This commit is contained in:
@@ -19,7 +19,11 @@ from django.urls import include, path
|
||||
from . import views
|
||||
|
||||
urlpatterns = [
|
||||
path('admin/', admin.site.urls),
|
||||
path('admin/',
|
||||
admin.site.urls),
|
||||
|
||||
path('select2/',
|
||||
include('django_select2.urls')),
|
||||
|
||||
path('',
|
||||
include('django.contrib.auth.urls')),
|
||||
@@ -36,4 +40,4 @@ urlpatterns = [
|
||||
|
||||
path('',
|
||||
include('activities.urls')),
|
||||
]
|
||||
] # yapf: disable
|
||||
|
||||
Reference in New Issue
Block a user