Serving null files

1
2
3
4
nullFile = lambda r: HttpResponse()

# As you might've figured out, you use it in urls.py with:
# (r'myRegex', 'some.module.nullFile'),

Comments

(Forgotten your password?)

You may use Markdown syntax here, but raw HTML will be removed.