It's not detail it's details.html On Sat 12 Jan, 2019 12:42 pm tribhuvan kishor <[email protected] wrote:
> 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 < > [email protected]> wrote: > >> """ >> 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/settings/ >> """ >> >> import os >> >> # Build paths inside the project like this: os.path.join(BASE_DIR, ...) >> BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) >> >> >> # Quick-start development settings - unsuitable for production >> # See https://docs.djangoproject.com/en/2.0/howto/deployment/checklist/ >> >> # SECURITY WARNING: keep the secret key used in production secret! >> SECRET_KEY = 'po3(*jzn*8yzi$765qqcke+ewdc()g6xbwvx(g64i^bw28ulc@' >> >> # SECURITY WARNING: don't run with debug turned on in production! >> DEBUG = True >> >> ALLOWED_HOSTS = [] >> >> >> # Application definition >> >> INSTALLED_APPS = [ >> 'django.contrib.admin', >> 'django.contrib.auth', >> 'django.contrib.contenttypes', >> 'django.contrib.sessions', >> 'django.contrib.messages', >> 'django.contrib.staticfiles', >> 'blog', >> ] >> >> MIDDLEWARE = [ >> 'django.middleware.security.SecurityMiddleware', >> 'django.contrib.sessions.middleware.SessionMiddleware', >> 'django.middleware.common.CommonMiddleware', >> 'django.middleware.csrf.CsrfViewMiddleware', >> 'django.contrib.auth.middleware.AuthenticationMiddleware', >> 'django.contrib.messages.middleware.MessageMiddleware', >> 'django.middleware.clickjacking.XFrameOptionsMiddleware', >> ] >> >> ROOT_URLCONF = 'mysite.urls' >> >> TEMPLATES = [ >> { >> 'BACKEND': 'django.template.backends.django.DjangoTemplates', >> 'DIRS': [], >> 'APP_DIRS': True, >> 'OPTIONS': { >> 'context_processors': [ >> 'django.template.context_processors.debug', >> 'django.template.context_processors.request', >> 'django.contrib.auth.context_processors.auth', >> 'django.contrib.messages.context_processors.messages', >> ], >> }, >> }, >> ] >> >> WSGI_APPLICATION = 'mysite.wsgi.application' >> >> >> # Database >> # https://docs.djangoproject.com/en/2.0/ref/settings/#databases >> >> DATABASES = { >> 'default': { >> 'NAME': 'mysite', >> 'ENGINE': 'django.db.backends.mysql', >> 'HOST': 'localhost', >> 'PORT':'3306', >> 'USER': 'root', >> 'PASSWORD': 'root', >> } >> } >> >> >> # Password validation >> # >> https://docs.djangoproject.com/en/2.0/ref/settings/#auth-password-validators >> >> AUTH_PASSWORD_VALIDATORS = [ >> { >> 'NAME': >> 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator', >> }, >> { >> 'NAME': >> 'django.contrib.auth.password_validation.MinimumLengthValidator', >> }, >> { >> 'NAME': >> 'django.contrib.auth.password_validation.CommonPasswordValidator', >> }, >> { >> 'NAME': >> 'django.contrib.auth.password_validation.NumericPasswordValidator', >> }, >> ] >> >> >> # Internationalization >> # https://docs.djangoproject.com/en/2.0/topics/i18n/ >> >> LANGUAGE_CODE = 'en-us' >> >> TIME_ZONE = 'UTC' >> >> USE_I18N = True >> >> USE_L10N = True >> >> USE_TZ = True >> >> >> # Static files (CSS, JavaScript, Images) >> # https://docs.djangoproject.com/en/2.0/howto/static-files/ >> >> STATIC_URL = '/static/' >> >> >> On Sat, Jan 12, 2019 at 11:33 AM shiva kumar < >> [email protected]> wrote: >> >>> 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 < >>> [email protected]> wrote: >>> >>>> this is my directory structure >>>> >>>> On Fri, Jan 11, 2019 at 9:19 PM Martin K <[email protected]> wrote: >>>> >>>>> 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 from this group and stop receiving emails from it, send >>>>> an email to [email protected]. >>>>> To post to this group, send email to [email protected]. >>>>> Visit this group at https://groups.google.com/group/django-users. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/django-users/b56b852a-9948-45d5-bafd-479530c0c2ca%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/django-users/b56b852a-9948-45d5-bafd-479530c0c2ca%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> >>>> >>>> -- >>>> regards >>>> Tribhuvan Kishor Bhaskar >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Django users" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> Visit this group at https://groups.google.com/group/django-users. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/django-users/CACiphSX4ScGJMbkik-zLvhh%2BQA6KCq7toBzFMEijOvJbtwKzFw%40mail.gmail.com >>>> <https://groups.google.com/d/msgid/django-users/CACiphSX4ScGJMbkik-zLvhh%2BQA6KCq7toBzFMEijOvJbtwKzFw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at https://groups.google.com/group/django-users. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/django-users/CAMsYeuEAkL%2BsHDStbMn25eK%2BWsALdo%2BaD_Do8Z9%3DLVs3DzRchw%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAMsYeuEAkL%2BsHDStbMn25eK%2BWsALdo%2BaD_Do8Z9%3DLVs3DzRchw%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> >> >> -- >> regards >> Tribhuvan Kishor Bhaskar >> > > > -- > regards > Tribhuvan Kishor Bhaskar > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACiphSUhxyhSkzKou8w%2BKEfuY8iYT%3DVR0wo5SM8re-5AcXvEiA%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CACiphSUhxyhSkzKou8w%2BKEfuY8iYT%3DVR0wo5SM8re-5AcXvEiA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMsYeuFzZJWtEJaMz21ewnOUBaN_XWcn%3D0P5smQ6LguFnhWqEA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

