Skip to content

Instantly share code, notes, and snippets.

View sfreytag's full-sized avatar

Simon Freytag sfreytag

View GitHub Profile
@sfreytag
sfreytag / Yuml.me generator for Python class inheritance
Created November 2, 2011 14:15
Generate a http://yuml.me definition of Django's class-based views to get a nice class diagram of those views.
"""
Generate a http://yuml.me definition of Django's class-based views to get a
nice class diagram of those views.
"""
# This runs as a script, but in my Django project root, so import the settings
import settings
import inspect
import django.views.generic.list as list_views