Re: template not exist error snap in attechment

2019-01-11 Thread tribhuvan kishor
even list.html is in the same place and its accessible . i am not getting why showing problem with details.html On Sat, Jan 12, 2019 at 12:40 PM tribhuvan kishor < tribhuvankishor...@gmail.com> wrote: > """ > Django settings for mysite project. > > Generated by 'django-admin startproject' using

Re: template not exist error snap in attechment

2019-01-11 Thread tribhuvan kishor
""" Django settings for mysite project. Generated by 'django-admin startproject' using Django 2.0.5. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see

Re: template not exist error snap in attechment

2019-01-11 Thread shiva kumar
once post your setting.py file content . i will try to figure it out. On Sat, Jan 12, 2019 at 11:16 AM tribhuvan kishor < tribhuvankishor...@gmail.com> wrote: > this is my directory structure > > On Fri, Jan 11, 2019 at 9:19 PM Martin K wrote: > >> TEMplate DIrectory >>>

Re: template not exist error snap in attechment

2019-01-11 Thread Martin K
> > TEMplate DIrectory > PROJECT/APP/template/blog/detail.html > > You see directly in the error that template should be located in PROJECT/APP/template/blog/*post*/detail.html -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: template not exist error snap in attechment

2019-01-11 Thread shiva kumar
Can you put your project file structure. On Fri 11 Jan, 2019 5:46 pm NAveeN Kumar Reddy < knaveenkumarredd...@gmail.com wrote: > Check the link before pattern in path function > > On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor < > tribhuvankishor...@gmail.com wrote: > >> URL >>

Re: Connect DJANGO with mysql

2019-01-11 Thread NAveeN Kumar Reddy
""" Django settings for djangoblog project. Generated by 'django-admin startproject' using Django 2.0.6. For more information on this file, see https://docs.djangoproject.com/en/2.0/topics/settings/ For the full list of settings and their values, see

Re: Connect DJANGO with mysql

2019-01-11 Thread Kasper Laudrup
Hi ruk91, On 1/11/19 6:45 AM, ruk91 wrote: I have developed a react front-end and it has been connected t the DJANGO REST Framework. Now I need to use MySQL for data retrieving. Can anyone guide me to that? Or just send me clear documentation or example. How about this?:

Re: template not exist error snap in attechment

2019-01-11 Thread NAveeN Kumar Reddy
Check the link before pattern in path function On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor URL > path('//',views.post_detail, name='post_detail'), > VIEW > > def post_detail(request, year, post): > post = get_object_or_404(Post, slug=post, >

Connect DJANGO with mysql

2019-01-11 Thread ruk91
I have developed a react front-end and it has been connected t the DJANGO REST Framework. Now I need to use MySQL for data retrieving. Can anyone guide me to that? Or just send me clear documentation or example. -- You received this message because you are subscribed to the Google Groups

Re: How & Where are Django View Functions Called?

2019-01-11 Thread 'Amitesh Sahay' via Django users
models.py, urls.py Regards, Amitesh Sahay91-750 797 8619 On Thursday, 10 January, 2019, 11:50:54 PM IST, Vivek Jha wrote: you have to call in urls.py  from django.urls import path projectname.appname.views import home url patterns=[                  path('home/',home), On Thu, Jan