﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
22639	Fix inconsistency with imports in documentation	niclas.ahden	nobody	"We've noticed that imports are not always included in code snippets which means that snippets are not always safe to copy and paste. It's fine to not have them copy-paste safe, but it should be consistent.

'''For example'''
The tutorial includes imports in all of the snippets (eg. ""from django.contrib import admin""). Except for at the very bottom where the imports are skipped.
https://docs.djangoproject.com/en/1.6/intro/tutorial02/

This section has two snippets: one with imports and one without.
https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#selecting-the-fields-to-use

The imports for this snippet are quite far away in a previous section.
https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#considerations-regarding-model-s-error-messages

TL;DR should all code snippets be safe to copy and paste?"	Cleanup/optimization	closed	Documentation	dev	Normal	fixed		Tim Graham Daniele Procida tibidat	Accepted	0	0	0	0	0	0
