From 7457cd6847d8a2f46e0e0b7d1d993f89c4d9195a Mon Sep 17 00:00:00 2001 From: Matt Austin Date: Wed, 14 Sep 2011 10:53:18 +0800 Subject: [PATCH] Renamed template location from bootstrap_form/form.html to bootstrapform/form.html for naming consistency. --- .../templates/{bootstrap_form => bootstrapform}/form.html | 0 bootstrapform/templatetags/bootstrap.py | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename bootstrapform/templates/{bootstrap_form => bootstrapform}/form.html (100%) diff --git a/bootstrapform/templates/bootstrap_form/form.html b/bootstrapform/templates/bootstrapform/form.html similarity index 100% rename from bootstrapform/templates/bootstrap_form/form.html rename to bootstrapform/templates/bootstrapform/form.html diff --git a/bootstrapform/templatetags/bootstrap.py b/bootstrapform/templatetags/bootstrap.py index f49af35..d7af1be 100644 --- a/bootstrapform/templatetags/bootstrap.py +++ b/bootstrapform/templatetags/bootstrap.py @@ -6,7 +6,7 @@ register = template.Library() @register.filter def bootstrap(form): - template = get_template("bootstrap_form/form.html") + template = get_template("bootstrapform/form.html") context = Context({'form': form}) return template.render(context)