mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-26 09:52:16 +00:00
Make TrainingLevelRequirement the correct level of unique
Also updates generateSampleData to match
This commit is contained in:
@@ -98,7 +98,7 @@ class AddLevelRequirement(generic.CreateView):
|
||||
return kwargs
|
||||
|
||||
def get_success_url(self):
|
||||
return reverse_lazy('trainee_detail')
|
||||
return reverse_lazy('level_detail', kwargs={"pk": self.kwargs['pk']})
|
||||
|
||||
@transaction.atomic()
|
||||
@reversion.create_revision()
|
||||
|
||||
Reference in New Issue
Block a user