Commits

Steve Losh committed 46a6ee0

Add the output field to the run model.

Comments (0)

Files changed (2)

integration/models.py

     command = models.CharField(max_length=500)
     start_time = models.DateTimeField(blank=True, null=True, auto_now_add=True)
     end_time = models.DateTimeField(blank=True, null=True, auto_now_add=False)
+    output = models.TextField(blank=True)
     
     class Meta:
         ordering = ['-start_time']
 
 admin.autodiscover()
 
-urlpatterns = patterns('tinpan.integration.views',
+urlpatterns = patterns('',
+    (r'^admin/', include(admin.site.urls)),
+)
+
+urlpatterns += patterns('tinpan.integration.views',
     url(r'^$',                                     'overview',       name='overview'),
     url(r'^(?P<slug>[\w_-]+)/$',                   'project_detail', name='project_detail'),
     url(r'^(?P<slug>[\w_-]+)/build/(?P<id>\d+)/$', 'build_detail',   name='build_detail'),
 )
 
-urlpatterns += patterns('',
-    (r'^admin/', include(admin.site.urls)),
-)
-
 
 if settings.DEBUG:
     urlpatterns += patterns('',