You should import models into views.py.
For Example;
from hdyazi.models import *
from hdmakale.models import *
from hdsayfalar.models import *
My models' names are hdyazi,mdmakale,hdsayfalar ...
--
*www.halitalptekin.com | Halit Alptekin*
--
You received this message because yo
Hi.I'm creating to free time project on Django.
And,I'm using " SlugField " on my models.(to post url)
Also,I'm using " Slugify " template tag on my template.
If my title is = " Deneme Başlık", slug = " deneme-baslik "
But,if i use in my template to = {{ title|slugify }} = "deneme-baslk"
Delet
2 matches
Mail list logo