Skip to content

Instantly share code, notes, and snippets.

@opie4624
opie4624 / README
Created December 19, 2008 01:16
Working through the "Practical Django Projects" book from Apress
External Packages/Sources
Tagging http://code.google.com/p/django-tagging/
Markdown https://sf.net/projects/python-markdown/
pydelicious http://code.google.com/p/pydelicious/
@opie4624
opie4624 / data.php
Created August 20, 2008 15:19
An attempt to record and graph the signal levels from my cable modem over time as a diagnostic tool.
<?php
header("Content-type: text/xml");
include('XmlWriter.class.php');
$data = file("/home/akraut/cablemodem/siglog.csv");
$max = array();
$min = array();
$ldata = array();
$dotx = $dorx = False;
@opie4624
opie4624 / admin.py
Created August 14, 2008 19:51
Differences between old contrib.admin and new contrib.admin
from django.contrib import admin
from django.contrib.flatpages.models import FlatPage
from cms.search.models import SearchKeyword
#class SearchKeywordAdmin(admin.ModelAdmin):
# """Provide the admin functions for the SearchKeyword model."""
# pass
class SearchKeywordInline(admin.StackedInline):