Skip to content

Commit

Permalink
Getting test pages to fire correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
pydanny committed Nov 28, 2009
1 parent 85cfc3f commit 5a8d9c8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion test_project/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ""
MEDIA_ROOT = PROJECT_ROOT.replace('/test_project','/uni_form/media/')


# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
Expand Down
2 changes: 1 addition & 1 deletion test_project/test_app/templates/test_app/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
Are these actually pulling in content? I don't want to use them, just want
to see the results
{% include "uni_form/includes.html" %}
{% uni_form_setup %}
-->
Expand All @@ -21,6 +20,7 @@
<style>
{% include "uni-form.css" %}
</style>

{% block extra_head_base %}
{% block extra_head %}{% endblock %}
{% endblock %}
Expand Down

0 comments on commit 5a8d9c8

Please sign in to comment.