Задать вопрос

Тел: +7 965 3737 888

416

Просмотров

6

Ответов

Mini issue tracker

<p>Described more fully on <a href="http://e-scribe.com/news/230">my blog</a>, but the gist is: this model becomes a sort of mini-app in your admin, allowing you to record and track issues related to your other applications.</p>
<p>Sorting still needs some work.</p>
<p>UPDATED 2007-03-14: Fixed repeat in Admin.list_display (thanks, burly!); added Admin.list_filter; changed app list (why did I call that PROJECTS, anyway?) to omit "django.*" apps</p>

Вопрос полезен? Да0/Нет0
file_2642.py(1.3Кб)
None

Ответы (6):

Ответmrben:24.11.2008
Ответ полезен? Да0/Нет0

Could probably do with updating this to the v1.0 admin stuff. If I get a moment, I'll post up some code.

Ответpbx:13.04.2007
Ответ полезен? Да0/Нет0

Good catch, fixed.

Ответsmileychris:11.04.2007
Ответ полезен? Да0/Нет0

Instead of from YOURPROJECT import settings you should use from django.conf import settings

Ответpbx:14.03.2007
Ответ полезен? Да0/Нет0

Thanks -- fixed!

I added a couple refinements that I've been using too.

Ответburiy:11.03.2007
Ответ полезен? Да0/Нет0

bug: two submitted_date in list_display.

Ответeter:23.10.2010
Ответ полезен? Да0/Нет0

Since Pre .96 version there is a bit of minor changes:

1) max_length instead of maxlength

2) you had better use unicode method instead of str.