Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (15 sloc) 728 Bytes
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
<html xmlns="" xml:lang="en" lang="en">
<title>dutils - Django JS Utils</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<h2>Click the links to get the urls</h2>
<p><a href="#" onclick="alert(dutils.urls.resolve('dashboard'))">Dashboard</a></p>
<p><a href="#" onclick="alert(dutils.urls.resolve('time_edit', { project_id: 1, time_id: 2 }))">Edit time</a></p>
<script type="text/javascript" src="dutils.js"></script>
<script type="text/javascript" src="dutils.conf.urls.example.js"></script>