Skip to main content

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()

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aino-utkik-0.9.1.tar.gz (7.9 kB view details)

Uploaded Source

File details

Details for the file aino-utkik-0.9.1.tar.gz.

File metadata

  • Download URL: aino-utkik-0.9.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for aino-utkik-0.9.1.tar.gz
Algorithm Hash digest
SHA256 bab8d30876277f8e421fb30951ef9458405ce708a27134e0902f7c8b05ecd347
MD5 3caf1429637b27b387352c78f674fc0e
BLAKE2b-256 e26db6d5cf2144566aaf65064e198668b4dd00dca12d02fd5eca79092062cf62

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.1 This release

1 file

0.9.0

1 file

0.8.1

1 file

0.8.0

1 file

0.7.10

1 file

0.7.9

1 file

0.7.8

1 file

0.7.7

1 file

0.7.6

1 file

0.7.5

1 file

0.7.4

1 file

0.7.3

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.9

1 file

0.6.8

1 file

0.6.7

1 file

0.6.6

1 file

0.6.4

1 file

0.6.3

1 file

0.6.0

1 file

0.5.0

1 file

0.4.0

1 file

0.3.8

1 file

0.3.7

1 file

0.3.6

1 file

0.3.5

1 file

0.3.3

1 file

0.3.1

1 file

0.3.0

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2

1 file

0.1.3

1 file

0.1.2

1 file

0.1.1

1 file

0.1

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page