mirror of
				https://github.com/bspeice/Melodia
				synced 2025-11-03 18:00:50 -05:00 
			
		
		
		
	Initial web app commit
Contains app-specific URL handling, and initial static resources (bootstrap, jquery 1.9, jquery-ui 1.10 included)
This commit is contained in:
		
							
								
								
									
										0
									
								
								web/views/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								web/views/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										6
									
								
								web/views/login_page.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								web/views/login_page.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
from django.http import HttpResponse
 | 
			
		||||
from django.template import RequestContext
 | 
			
		||||
from django.shortcuts import render_to_response
 | 
			
		||||
 | 
			
		||||
def login_page(request):
 | 
			
		||||
	return render_to_response("login.html", context_instance = RequestContext(request))
 | 
			
		||||
							
								
								
									
										6
									
								
								web/views/main.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								web/views/main.py
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
from django.http import HttpResponse
 | 
			
		||||
from django.template import RequestContext
 | 
			
		||||
from django.shortcuts import render_to_response
 | 
			
		||||
 | 
			
		||||
def main(request):
 | 
			
		||||
	return render_to_response("main.html", context_instance = RequestContext(request))
 | 
			
		||||
		Reference in New Issue
	
	Block a user