Welcome to zerokspot.com, the personal website of Horst Gutmann.

Archive for dry

  • DRY in Django views

    A couple of days ago, a topic came up on the django-users mailinglist where someone asked how to avoid code repetition in views if the views mostly do the same (for instance do some processing on the request parameters or check a certain session variable etc.).

    There is one question you have to ask yourself first, though: Does this common processing require request-specific data like session-data or request parameters?

    Read more about "DRY in Django views" ...

    2008/04/19 at 06:52:20

    comments

See all tags used for weblog posts