I\'m going to attempting to build a web app where users can visit a url, login and view reports and other information. However the data for the reports are stored in an exte
There is going to be no problem if the data is being updated.
Now for retrieving the data from database you first have to import the concerned model in your views
from app_name.models import model_name
def view_report(request):
r_name=request.POST.get('r_name','default_value')
r=model_name.objects.get(report_name=r_name)
return render_to_response('url',{'r':r})
In your template
{{r.report_desc}}