Skip to content

Instantly share code, notes, and snippets.

Neil Zhang niuers

View GitHub Profile
@niuers
niuers / gist:d8c56fab8e86656e77490c4607b0844e
Created Mar 19, 2019 — forked from defunkt/gist:6443
Chris Wanstrath: Start your side project!
View gist:d8c56fab8e86656e77490c4607b0844e
# Video: http://rubyhoedown2008.confreaks.com/08-chris-wanstrath-keynote.html
Hi everyone, I'm Chris Wanstrath.
When Jeremy asked me to come talk, I said yes. Hell yes. Immediately. But
then I took a few moments and thought, Wait, why? Why me? What am I supposed
to say that's interesting? Something about Ruby, perhaps. Maybe the
future of it. The future of something, at least. That sounds
keynote-y.
View gist:8430666
'''
adminreverse from here http://djangosnippets.org/snippets/2032/
changed for working with ForeignKeys
'''
'''
reverseadmin
============
Module that makes django admin handle OneToOneFields in a better way.
A common use case for one-to-one relationships is to "embed" a model
You can’t perform that action at this time.