dynamicweb/urls: removing static() call
Signed-off-by: rscnt <rascnt@gmail.com>
This commit is contained in:
		
					parent
					
						
							
								be7579134f
							
						
					
				
			
			
				commit
				
					
						f5ca1934c0
					
				
			
		
					 1 changed files with 0 additions and 1 deletions
				
			
		| 
						 | 
					@ -25,7 +25,6 @@ urlpatterns += i18n_patterns('',
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if settings.DEBUG:
 | 
					if settings.DEBUG:
 | 
				
			||||||
    urlpatterns += patterns('',
 | 
					    urlpatterns += patterns('',
 | 
				
			||||||
                            static(settings.STATIC_URL, document_root=settings.STATIC_ROOT),
 | 
					 | 
				
			||||||
                            url(r'^media/(?P<path>.*)$',
 | 
					                            url(r'^media/(?P<path>.*)$',
 | 
				
			||||||
                                'django.views.static.serve', {
 | 
					                                'django.views.static.serve', {
 | 
				
			||||||
                                    'document_root': settings.MEDIA_ROOT,
 | 
					                                    'document_root': settings.MEDIA_ROOT,
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue