Did I find the right examples for you? yes no

All Samples(3)  |  Call(2)  |  Derive(0)  |  Import(1)

src/d/j/django-bootstrap-markdown-1.5.2/django_bootstrap_markdown/views.py   django-bootstrap-markdown(Download)
from django.shortcuts import render
from django.contrib.auth.decorators import login_required
from django_bootstrap_markdown.models import Image
from django_bootstrap_markdown.forms import ImageForm, LibraryForm
 
 
@login_required
def markdown_image(request):
    if request.method == 'POST':
        form = ImageForm(request.POST, request.FILES)
            )
    else:
        form = ImageForm()
 
    return render(request, 'django_bootstrap_markdown/markdown_image.html', {