Skip to content

Instantly share code, notes, and snippets.

View vlad-marlo's full-sized avatar
Backend developer

Vladislav Agapov vlad-marlo

Backend developer
View GitHub Profile
@vlad-marlo
vlad-marlo / asdad
Created December 18, 2021 13:18
asdasa
{% extends 'base.html' %}
{% block title %}
Новый пост
{% endblock %}
{% block content %}
<div class="row justify-content-center">
<div class="col-md-8 p-5">
<div class="card">
<div class="card-header">
Зарегистрироваться
@vlad-marlo
vlad-marlo / forms.html
Last active December 18, 2021 08:45
ll
{% load user_filters %}
{% if form.errors %}
{% for field in form %}
{% for error in field.errors %}
<div class="alert alert-danger">
{{ error|escape }}
</div>
{% endfor %}
{% endfor %}
{% for error in form.non_field_errors %}
@vlad-marlo
vlad-marlo / .vimrc
Last active November 2, 2021 10:11 — forked from alexey-goloburdin/.vimrc
set nocompatible " be iMproved, required
filetype off " required
" set the runtime path to include Vundle and initialize
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')
" let Vundle manage Vundle, required