Yes i delete that 0001_initial.py page and rerun the migration codes and
run the server. But it dosen't work for me..
On Tuesday, August 22, 2023 at 12:49:39 AM UTC+5:30 Mike Simkins wrote:
> Did you regenerate and rerun the migrations ??
>
>
> python manage.py makemigrations
> python manage.py
My views
from django.shortcuts import render def auto_notification(request): return
render (request, "user/dashboard.html")
My models
from django.db import models from django.contrib.auth.models import User
#articles model
class Articles(models.Model):
title = models.CharField(max_length=300) da
what issue are you facing. please send the error
On Sat, Aug 19, 2023 at 9:03 PM Dhiraj Kumar
wrote:
> Hi new in Django,
>
> I want to display details post to the template but facing issue while
> trying to fetch post by id on the click of Continue Reading
> ,
> Views.py
>
> def show(request, id
3 matches
Mail list logo