Re: Python +django

2019-09-08 Thread Devdutt Bhati
https://www.youtube.com/watch?v=q6qE_uJB59c=PLd3UqWTnYXOnkicyzePnIg8rc2qEXgjiF learn this videos first and after learn django get some knowledge about python.

Re: Please help me in views.py

2019-09-04 Thread Devdutt Bhati
def getdetails(request11): objs = Details.objects.all() context = {'objs; : objs} return render(request, 'full_path_of_template', context} templates in which folders path should set in setting file. try this all the best and revert me. view.py :- def getdetails(request):

Re: Please help me in views.py

2019-09-04 Thread Devdutt Bhati
if you created table in models.py. you can import table at view file like : from appname .models import table/class name . when you got the table data at views file then use it as *variable=Tablename.objects.all()* now get all values in variable. it can render in render function and use values at

Re: Please help me in views.py

2019-09-04 Thread Devdutt Bhati
wiil get resolve the issue revert me. On Wed, Sep 4, 2019 at 1:07 AM Devdutt Bhati wrote: > if you created table in models.py. you can import table at view file like > : from appname .models import table/class name . > when you got the table data at views file then use it as &g