Commits

Anonymous committed bc3c7ef

  • Participants
  • Parent commits 3ba7e3a

Comments (0)

Files changed (1)

 ## Ensure that JQuery is included.
 ## Ensure that {{{experiments/include/experiments.js}}} is somehow included (perhaps copy it where your static files go, include it as part of your existing generated JS files, map it from {{{urls.py}}}, include it directly in a {{{<script/>}}} tag, etc.).
 ## Ensure that {{{experiments/include/experiment_enrollment.html}}} is rendered by your template.
+# Install the admin and public url mappings in your site {{{urls.py}}}
 # Register your engagement calculator in {{{settings.py}}}.
 # Define one or more conversion goal types.
 # Add conversion goal recording where appropriate.
 # Call {{{manage.py update_experiment_reports}}} nightly.
 # Experiment, learn, repeat!
 
+=== Installing URL Mappings ===
+
+The following snippet added to {{urls.py}} should properly install the needed URL mappings (adjust to meet your needs):
+
+{{{
+#!python
+...
+urlpatterns += patterns('',
+    url(r'^admin/django-lean/', include('experiments.admin_urls')),
+    url(r'^django-lean/', include('experiments.urls')),
+)
+...
+}}}
+
 == Development ==
 
 {{{