WIP - Sound.file instead of Sound.path; fix issues with player; program.path is now relative
This commit is contained in:
		@ -40,7 +40,7 @@ class AdminSite(admin.AdminSite):
 | 
			
		||||
        return context
 | 
			
		||||
 | 
			
		||||
    def get_urls(self):
 | 
			
		||||
        urls = super().get_urls() + [
 | 
			
		||||
        urls =  [
 | 
			
		||||
            path('api/', include((self.router.urls, 'api'))),
 | 
			
		||||
            path('tools/statistics/',
 | 
			
		||||
                 self.admin_view(StatisticsView.as_view()),
 | 
			
		||||
@ -48,7 +48,7 @@ class AdminSite(admin.AdminSite):
 | 
			
		||||
            path('tools/statistics/<date:date>/',
 | 
			
		||||
                 self.admin_view(StatisticsView.as_view()),
 | 
			
		||||
                 name='tools-stats'),
 | 
			
		||||
        ] + self.extra_urls
 | 
			
		||||
        ] + self.extra_urls + super().get_urls()
 | 
			
		||||
        return urls
 | 
			
		||||
 | 
			
		||||
    def get_tools(self):
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user