Skip to content

Commit

Permalink
Added todo here to remind me about mtigas/django-medusa#13
Browse files Browse the repository at this point in the history
  • Loading branch information
kezabelle committed Jun 1, 2015
1 parent c73fd13 commit bccbac6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions jackfrost/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
from collections import namedtuple
import logging
from mimetypes import guess_extension
# from django.core.urlresolvers import set_script_prefix
from django.http import HttpResponse
from django.template import TemplateDoesNotExist
from django.template.loader import render_to_string
Expand Down Expand Up @@ -209,6 +210,10 @@ class URLCollector(object):
__slots__ = ('renderers',)

def __init__(self, renderers=None):
# TODO: figure out prefix necessities
# url_prefix = getattr(settings, 'JACKFROST_SCRIPT_PREFIX', None)
# if url_prefix is not None:
# set_script_prefix(url_prefix)
self.renderers = frozenset(self.get_renderers(renderers=renderers))

def is_sitemap(self, cls):
Expand Down

0 comments on commit bccbac6

Please sign in to comment.