transactions.py 406 B

12345678910111213
  1. from django.contrib.auth.decorators import login_required
  2. from SharixAdmin.views.context import get_context
  3. from django.shortcuts import render
  4. from django.utils.translation import gettext as _
  5. @login_required
  6. def transactions(request):
  7. context = get_context(request, {
  8. 'title':_('Payment history'),
  9. })
  10. return render(request, 'SharixAdmin/transactions.html', context)