I have tried to create a slug watch here and please tell the problem
this is model.py
from django.db import models
# this is my models
class Article(models.Model):
title = models.CharField(max_length=100)
slug = models.SlugField()
body = models.TextField()
date =
hello fazal
please go into your settings and change debug into true
like this:
DEBUG = True
ALLOWED_HOSTS = []
On Mon, Apr 8, 2019 at 1:26 PM fazal rehman
wrote:
> Hello,
> I am a beginner in django.I am getting Server error(500) whenever I am
> trying to open the server have made some
2 matches
Mail list logo