aino-utkik 0.8.0

Small, clean code with a lazy view dispatcher and class based views for Django.

aino-utkik provides minimalistic class based views for Django focusing on common usage, readability and convienience.

For Django 1.3 or earlier use 0.7.8 For Django 1.7 or later use 0.8.0 or later

Example:

# urls.py
from utkik.dispatch import *

urlpatterns = patterns('',
    (r'^(?P<slug>[-\w]+)/$', 'news.NewsDetailView'),
    (r'^$', 'news.NewsListView'),
)

# news/views.py
from django.shortcuts import get_object_or_404
from news.models import News
from utkik import View

class NewsDetailView(View):
    template_name = 'news/news_detail.html'

    def get(self, slug):
        self.c.news = get_object_or_404(News.objects, slug=slug)


class NewsListView(View):
    template_name = 'news/news_list.html'

    def get(self):
        self.c.news_list = News.objects.all()
BSD

Author

Mikko Hellsing

Pip

aino-utkik==0.8.0

Classifiers

  • Topic :: Internet :: WWW/HTTP :: Dynamic Content
  • Programming Language :: Python
  • Operating System :: OS Independent
  • License :: OSI Approved :: BSD License
  • Intended Audience :: Developers
  • Framework :: Django
  • Environment :: Web Environment
  • Development Status :: 3 - Alpha
File Type Python Version Uploaded On Downloads
aino-utkik-0.8.0.tar.gz Source Sept. 25, 2014 348
Version Release Date
0.8.0 Sept. 25, 2014
0.7.10 May 28, 2014
0.7.9 March 18, 2014
0.7.8 Feb. 24, 2012
0.7.7 Feb. 8, 2012
0.7.6 Jan. 26, 2012
0.7.5 Nov. 23, 2011
0.7.4 Nov. 22, 2011
0.7.3 Nov. 15, 2011
0.7.2 June 22, 2011
0.7.1 May 11, 2011
0.7.0 May 5, 2011
0.6.9 April 18, 2011
0.6.8 April 17, 2011
0.6.7 April 17, 2011
0.6.6 April 17, 2011
0.6.4 April 16, 2011
0.6.3 April 12, 2011
0.6.0 April 12, 2011
0.5.0 April 12, 2011
0.4.0 April 12, 2011
0.3.8 April 4, 2011
0.3.7 April 4, 2011
0.3.6 April 4, 2011
0.3.5 April 1, 2011
0.3.3 April 1, 2011
0.3.1 March 31, 2011
0.3.0 March 31, 2011
0.2.4 March 30, 2011
0.2.3 March 29, 2011
0.2.2 March 29, 2011
0.2.1 March 29, 2011
0.2 March 29, 2011
0.1.3 March 28, 2011
0.1.2 March 28, 2011
0.1.1 March 28, 2011
0.1 March 28, 2011
Date Package Version Action
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.6 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.0 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.3 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.3 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.1 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.5 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.8 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.8.0 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.10 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.5.0 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.4.0 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.1.3 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.4 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.0 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.3 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.2 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.5 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.4 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.7 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.6 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.9 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.8 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.8 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.9 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.3.7 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.7.1 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.1.2 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.1.1 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.2.1 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.2.2 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.2.3 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.2.4 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.6 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.2 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.7 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.1 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik 0.6.0 Release Created
Nov. 3, 2014, 1:32 p.m. aino-utkik Package Created