Elements tagged with: python

skip over the calendar

Page created at
A Test Framework for Django Oct. 31, 2005, 12:59 p.m.
DjangoTesting is part of my DjangoStuff project and is the start of a testing framework for Django, modeled after the testing framework that Ruby on Rails provides. Currently only model tests are implemented, request/response tests are planned. The testing framework is built solely on unittest and ...
Django, Programmierung, Python
Case/When/Otherwise for Django Oct. 30, 2005, 1:04 p.m.
If you have any evil plans for a switch statement for Django (hia rjwittams! ;-)), you might want to look into my TagLib. There is a case/when/otherwise statement in there. It's quite easy to use: {% case variable %} {% when "value1" %} {% endwhen %} {% when "value2" %} {% endwhen %} {% otherwise %} ...
Django, Programmierung, Python
Adhoc-Organization in CM-Systems Oct. 28, 2005, 10:21 p.m.
Adhoc organization is what I named the basic design decisions for my new content management system (blog system, personal wiki, digital image shoebox - whatever). It's coming along nicely, even though up to now I only used it as a sample application to make use of my little tools from the ...
Django, Programmierung, Python
cucumber2 Oct. 27, 2005, 1:13 p.m.
cucumber2 ist ein sehr interessanter Object-Relational-Mapper für Python und PostgreSQL, der unter anderem auch die Tabellenvererbung in PostgreSQL unterstützt.
Programmierung, Python
Django Project Oct. 27, 2005, 11:57 a.m.
Django Project - ein sehr nettes Webframework, welches ich bei mir hier einsetze.
Framework, Python
Markdown for Django Oct. 26, 2005, 8:02 p.m.
Django already includes a markdown filter (in contrib.markup), but I nonetheless rolled my own Markdown for Django mini-app. The main benefits are link integration with django models (by using generic model queries and getabsoluteurl), a documentation generic view that handles language switching and ...
Django, Programmierung, Python
Twisted Buch ist raus Oct. 26, 2005, 9:15 a.m.
Wer sein Hirn nicht so ohne weiteres in die verdrehte Welt von Twisted quetschen kann, dem hilft vielleicht Twisted Network Programming Essentials - ein neues Buch zu der wohl mächtigsten Internet-Protokoll-Plattfor für Python. post a comment No HTML is allowed, if you want to post a link, just ...
Programmierung, Python
"Fitting on" some framework Oct. 26, 2005, 2:05 a.m.
How do you know wether a framework fits your style of thinking? It's not as if you could just look into a mirror wether it suits you nicely, you need other ways to decide that. One way to decide it is productivity - how fast you get your project up and running. But does that really tell you the ...
Django, Programmierung, Python
python webdav server Oct. 25, 2005, 1:51 a.m.
python webdav server ist noch ein WebDAV Server für Python - seit 2000 nicht mehr aktualisiert, aber wenns funktioniert, könnte es reichen. Vielleicht verständlicher als Twisted-Code.
Programmierung, Python
akaDAV - Lightweight WebDAV server and python module Oct. 25, 2005, 1:50 a.m.
akaDAV - Lightweight WebDAV server and python module ist ein WebDAV Modul für Twisted. Damit kann man sich seinen eigenen WebDAV Server basteln. Könnte nütlich für mich sein, weil ich dann das Teil unter Userrechten laufen lassen kann, statt unter den Rechten des Webservers ...
Programmierung, Python
generic search service for Django Oct. 23, 2005, 11:11 p.m.
If your Django application needs searching capabilities, you can roll your own. Or you can use my generic search view. This provides a parser for queries and a search machinery that is suiteable for moderate database sizes. It provides an extensible google-like syntax. The main problem is that ...
Django, Programmierung, Python
very simple view functions Oct. 22, 2005, 1:11 a.m.
Sometimes you have a bunch of really simple view functions in your django project (yes, this is for your, bitprophet! ;-)). View functions that are actually not more than just a rendertoresponse call - take a template, take some data from the request, stuff them in and render a response. It's rather ...
Django, Programmierung, Python
Module Hacking for Django Oct. 21, 2005, 9:31 p.m.
Django itself constructs model modules dynamically from your model classes. That's what I used in my first take at the abstract tagging application. Now I found a better way in the current version - I can modify the dynamic module myself quite easily, generate a dynamic model class and push that ...
Django, Programmierung, Python
Twisted Names Oct. 21, 2005, 12:07 a.m.
Twisted Names muss ich mir mal angucken - ein DNS server in Python auf Twisted-Basis. Könnte ich ja auf DB-Benutzung umstricken, als Alternative zum PowerDNS.
Programmierung, Python, Sysadmin
Tagging with Django Oct. 19, 2005, 4:47 p.m.
Since the question about how to do tagging with Django shows up quite often, I have written a small solution to this problem: AbstractTagging. This is a generic application and generic views that give you a very simple solution to add tagging to any model you have in your django apps. It's currently ...
Django, Programmierung, Python
call of the noodle Oct. 17, 2005, 12:03 p.m.
Da schreibt einer an einem Lisp-Compiler für Python-Bytecode - sehr interessant, da man damit die Python Libraries unter einem Lisp-Dialekt benutzen könnte. Mal schauen wenn der erste Release kommt, wie der Lisp-Dialekt aussehen wird und was für Features er abdecken wird. Mit Unterstützung für ...
Lisp, Programmierung, Python
Using Django as a CMS Oct. 16, 2005, 3:44 p.m.
I am currently reworking one of my sites - Content-type: matter-transport/sentient-life-form. It was a Apache::MiniWiki based site before and is now in the transition to being a Django based site. The idea of the code for that site is to build a CMS based on Django that fully uses the Django admin. ...
Django, Programmierung, Python
Accent-Zeichen in ihr Basiszeichen umwandelt Oct. 11, 2005, 4:51 p.m.
Wie man in Python Accent-Zeichen in ihr Basiszeichen umwandelt. Ziemlich banaler Ansatz, aber für viele Zwecke völlig ausreichend. Für richtige Lösungen gibts dann PyICU ...
Programmierung, Python
Django i18n status Oct. 11, 2005, 4:29 p.m.
I worked a bit more on the i18n stuff in django today and finally switched my gallery to the i18n branch. You can now see the strings on that site with either english or german settings. Other languages get english output (so if you are in Germany and still see english strings - check the language ...
Django, Programmierung, Python
Ajax mal anders Oct. 8, 2005, 10:50 a.m.
Subway's new Ajax framework hat einen interessanten Ansatz: per inspect wird Python-Source aus einer Methode geholt und dann nach JavaScript übersetzt. Natürlich wird dabei nur ein Subset von Python unterstützt, aber die Idee ist recht interessant - Python-Syntax für JavaScript. Natürlich ...
JavaScript, Programmierung, Python
WSGI and WSGI Middleware is Easy Oct. 7, 2005, 12:21 p.m.
WSGI and WSGI Middleware is Easy beschreibt wie man mit WSGI Middleware arbeitet und was das eigentlich ist.
Programmierung, Python
Python Paste Power Oct. 5, 2005, 11:16 a.m.
Python Paste Power ist ein sehr interessanter Artikel über Python Paste, das Metaframework von Ian Bicking. Es macht die Anwendung und Verteilung von Web-Anwendungen in Python sehr viel einfacher (jedenfalls wenn das Framework mit dem man die Anwendung bauen will Paste Support hat). post a comment ...
Programmierung, Python
IRC Logger update Oct. 4, 2005, 9:45 p.m.
The IRC logger is working fine, but I wasn't happy with the dependence on muh - so I wrote my own little logger bot in python, based on irclib. Does work fine and does only what I want it to do - logging. I allways feel a bit queasy when IRC bots have command structures and stuff like that and I ...
Django, Programmierung, Python
IRC logger for #django Oct. 2, 2005, 2:59 p.m.
There now is a IRC logger for #django on freenode.net. Ever since the loglibrary broke down, I thought about rolling my own. So I started to build the stuff needed for an IRC logger. The interface itself is written with django, of course :-) As allways, the source is available in my trac instance. ...
Django, Programmierung, Python
TwistedDAV Oct. 1, 2005, 10:24 a.m.
TwistedDAV ist ein WebDAV Server in Python, der unter Twisted läuft. Sehr interessant wenn man etwas auf DAV aufbauen möchte - bisher gabs da nur den Zope-Source als Beispiel und Basis.
Programmierung, Python