Changeset 70a9bbd
- Timestamp:
- May 12, 2010, 4:28:37 AM (16 years ago)
- Branches:
- master, client
- Children:
- ff0ea05
- Parents:
- 5eb287f
- git-author:
- Alex Dehnert <adehnert@…> (05/12/10 04:25:09)
- git-committer:
- Alex Dehnert <adehnert@…> (05/12/10 04:28:37)
- Location:
- remit
- Files:
-
- 2 edited
-
settings.py (modified) (1 diff)
-
vouchers/views.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
remit/settings.py
r857256d r70a9bbd 30 30 AUTH_SOCK = None # Path to SocketAuth socket 31 31 ENABLE_SCRIPTS_AUTH = True 32 33 # Arguably usual MIME type; text/plain, while wrong, might work better by not 34 # making browsers want to open in an external application 35 LATEX_MIMETYPE = 'application/x-latex' 32 36 33 37 from local_settings import * -
remit/vouchers/views.py
r857256d r70a9bbd 308 308 'MEDIA_ROOT': settings.MEDIA_ROOT, 309 309 } 310 response = render_to_response('vouchers/vouchers.tex', context, context_instance=RequestContext(http_request), ) 310 response = render_to_response( 311 'vouchers/vouchers.tex', 312 context, context_instance=RequestContext(http_request), 313 mimetype=settings.LATEX_MIMETYPE, 314 ) 311 315 312 316 # Send mail
Note: See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/chrome/site/your_project_logo.png)