Unnamed
Posted by dcramer
highlighted in
Python
- ActionScript
- ActionScript 3
- Bash
- Brainfuck
- C
- C#
- C++
- CSS
- Diff
- Django/Jinja
- ERB
- Erlang
- Genshi
- Genshi Text
- Gettext Catalog
- HTML
- INI
- Java
- JavaScript
- Lua
- Mako
- Myghty
- MySQL
- Objective-C
- Perl
- PHP
- Plaintext
- Python
- Python 3
- Python console session
- Python Traceback
- RHTML
- Ruby
- Ruby irb session
- Smarty
- SQL
- VB.net
- XML
- XSLT
import inspect
from django.contrib.auth.urls import urlpatterns
urlpatterns = exec inspect.getsource(urlpatterns)\
.replace('django.contrib.auth.views', 'coffin.contrib.auth.views')