Re: short_description not working

2017-02-19 Thread Scott Carpenter
What does your model look like? On Saturday, February 18, 2017 at 8:27:17 AM UTC-6, Qikai Gu wrote: > > Hi folks, > > I'm following the first django app tutorial (polls) and I'm stuck at part > 7 > : >

django channels in the shell

2017-02-19 Thread chris rose
I'm trying to implement a custom management command into my app. its purpose would be to check the database for a poll which fits time parameters and update clients via channels. I want to get a list of the clients in a group, then decide whether or not to send them new information based on the

Anyone know howto solve this: Error loading either pysqlite2 or sqlite3 module

2017-02-19 Thread Fernando Ramirez Dominguez
Hello, everybody: I am a newbie in Django and I recently installed Python 3.6 and Django 1.110.5, but when try execute the server show me: {code} Traceback (most recent call last): File "/root/myDjangoProject/lib/python3.6/site-packages/django/db/backends/sqlite3/base.py", line 34, in

any idea for get_absolute_url in m2m categories

2017-02-19 Thread carlos
Hi, any idea how to construct my get_absolute_url ( 127.0.0.1:8000/category-slug/id-slug-post) for example i have my models like this class Category(...): name = CharField() slug = SlugField(.) class MyModel(modesl.Model): post = models.CharField() slug = models.SlugFie

Re: any idea for get_absolute_url in m2m categories

2017-02-19 Thread Mike Dewhirst
On 20/02/2017 4:00 PM, carlos wrote: Hi, any idea how to construct my get_absolute_url (127.0.0.1:8000/category-slug/id-slug-post ) for example i have my models like this class Category(...): name = CharField() slug = SlugField(.