aino-utkik
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()
Metadata
Release files for aino-utkik 0.9.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| aino-utkik-0.9.1.tar.gz | 7.9 kB | Without provenance | Details |
Release files / aino-utkik-0.9.1.tar.gz
| Download URL | aino-utkik-0.9.1.tar.gz |
|---|---|
| Size | 7.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bab8d30876277f8e421fb30951ef9458405ce708a27134e0902f7c8b05ecd347
|
|
BLAKE2b-256 checksum How to use checksums |
e26db6d5cf2144566aaf65064e198668b4dd00dca12d02fd5eca79092062cf62
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for aino-utkik 0.9.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.