Add a bread crumb to the send started email page.
[htsworkflow.git] / htsworkflow / frontend / experiments / models.py
index eafe06a080e7f45d55ac6a827a480be1a24b1fb6..7fdf3f1e97a96d26522cc66b23e43cdf3a716136 100755 (executable)
@@ -74,6 +74,11 @@ class FlowCell(models.Model):
 
   class Meta:
     ordering = ["-run_date"]
+
+  def get_admin_url(self):
+    # that's the django way... except it didn't work
+    #return urlresolvers.reverse('admin_experiments_FlowCell_change', args=(self.id,))
+    return '/admin/experiments/flowcell/%s/' % (self.id,)
   
 ### -----------------------
 class DataRun(models.Model):