def populate(self):
from django.conf import settings<EOL>from django.core import urlresolvers<EOL>self.append(("<STR_LIT>", "<STR_LIT>"))<EOL>urlconf = settings.ROOT_URLCONF<EOL>resolver = urlresolvers.RegexURLResolver(r'<STR_LIT>', urlconf)<EOL>for key, value in resolver.reverse_dict.items():<EOL><INDENT>if isinstance(key, basestring):<EOL><INDENT>args = value[<NUM_LIT:0>][<NUM_LIT:0>][<NUM_LIT:1>]<EOL>url = "<STR_LIT:/>" + value[<NUM_LIT:0>][<NUM_LIT:0>][<NUM_LIT:0>]<EOL>self.append((key, "<STR_LIT:U+0020>".join(key.split("<STR_LIT:_>"))))<EOL><DEDENT><DEDENT>for namespace, url in resolver.namespace_dict.items():<EOL><INDENT>for key, value in url[<NUM_LIT:1>].reverse_dict.items():<EOL><INDENT>if isinstance(key, basestring):<EOL><INDENT>args = value[<NUM_LIT:0>][<NUM_LIT:0>][<NUM_LIT:1>]<EOL>full_key = '<STR_LIT>' % (namespace, key)<EOL>self.append((full_key, "<STR_LIT>" % (namespace, "<STR_LIT:U+0020>".join(key.split("<STR_LIT:_>")))))<EOL><DEDENT><DEDENT><DEDENT>self.sort()<EOL>
Populate this list with all views that take no arguments.