Hi,

here is some feedback to the check framework, documented at:

https://docs.djangoproject.com/en/dev/ref/checks/

---


{{{
Error('error message', None) # Good
}}}

I don't think this is "good". The "hint" should be optional. The above line
is ugly, since you don't know why there is second argument (None).

---

https://docs.djangoproject.com/en/dev/ref/django-admin/#django-admin-check

{{{
...

--tag <tagname>

The system check framework performs many different types of checks.
}}}

Which tags are available from django?

How can I list the available tags (django tags and my tags)?

How can I list the available checks?

If a check needs two minutes, it is not wise to run it on "runserver"
on development machines. Is there a way to define which tests should
be included or excluded depending on the context. For example: if
"runserver" gets called don't call tests with have tag "foo".

----

https://docs.djangoproject.com/en/dev/ref/checks/#registering-and-labeling-checks

{{{
@register('compatibility')
}}}

I don't like strings like this, since it can contain typos.

Are there objects for common tags? Example:

{{{
@register(Tag.COMPATIBILITY)
}}}



----

Thank you for this check framework. I like it.


Regards,
  Thomas Güttler

--
Thomas Guettler, http://www.tbz-pariv.de/

--
You received this message because you are subscribed to the Google Groups "Django 
developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-developers/52F24705.9010306%40tbz-pariv.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to