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
 
def markdown_library(request):
    if request.method == 'POST':
        form = LibraryForm(request.POST)
        if form.is_valid():
            image = form.cleaned_data['image']
            )
    else:
        form = LibraryForm()
 
    return render(request, 'django_bootstrap_markdown/markdown_library.html', {