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 1
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
"Djan
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,
> status='published'
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?:
https://www.digita
"""
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
https://docs.djangoproject.com/en/2.0/ref/set
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
>> path('//',views.po
>
> 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 f
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
>>> PROJECT/APP/template/bl
"""
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
https://docs.djangoproject.com/en/2.0/ref/setting
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
10 matches
Mail list logo