<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Blog de administración</title>
	<atom:link href="http://artedelascosas.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://artedelascosas.com</link>
	<description>Grupo Cooperativo de las Indias</description>
	<lastBuildDate>Sat, 07 Apr 2012 10:47:28 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Hello world!</title>
		<link>http://artedelascosas.com/hello-world/</link>
		<comments>http://artedelascosas.com/hello-world/#comments</comments>
		<pubDate>Mon, 23 Jan 2012 16:07:04 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[noepub]]></category>

		<guid isPermaLink="false">http://artedelascosas.com/?p=1</guid>
		<description><![CDATA[Algunos días atrás la Django Software Foundation libero la versión 1.4 de este framework de desarrollo web escrito en Python. Entre las novedades de la nueva versión se encuentra la definición de una nueva estructura de directorios por defecto para &#8230; <a href="http://artedelascosas.com/hello-world/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Algunos días atrás la Django Software Foundation <a href="http://www.genbetadev.com/frameworks/django-1-4-liberado">libero la versión 1.4</a> de este framework de desarrollo web escrito en Python. Entre las<a href="https://docs.djangoproject.com/en/dev/releases/1.4/"> novedades de la nueva versión</a> se encuentra la definición de una <a href="https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py">nueva estructura de directorios por defecto</a> para los proyectos. El libro de Django aún no esta actualizado para la nueva versión y el tutorial, actualizado ya para Django 1.4, toma como «Hola mundo» el desarrollo de una primera aplicación de encuestas. Pero tomando un poco <a href="http://lesthack.com.mx/2010/11/25/aprendiendo-django-ii/">de aquí</a> y <a href="http://blog.tropo.com/2011/05/29/hello-world-python-django-edition/">de allá</a> podemos montarnos nuestro «Hola mundo» con Django 1.4 de la siguiente forma.</p>
<p>Una vez tengamos Django 1.4 instalado y trabajando en nuestro sistema, creamos un nuevo proyecto:</p>
<style type="text/css">


/* *************************************************** */
/* WordPress default theme "twenty-ten" compatibility: */
/* FIXME: Is there a way to limit these changes to pygmentize_s4cREn  */
/*        without editing the WordPress theme directly? */
/* *************************************************** */

#content pre {
  /* The background: transparent is needed to work with WordPress:*/
  background: transparent;
  /* Default WordPress style has a big fat <pre> margin-bottom: */
  margin-bottom: 0px;

  /*color: #333333;*/
  font-size: .9em; 
  line-height: 1.25em;
}

#content table {
}

#content table {
	border: 1px solid #e7e7e7;
    margin: 0 0 0 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 0px;
}
#content tr td {
	border: 0px;
	padding: 0px;
	margin: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

/* *************************************************** */
/* *************************************************** */

/* Standard fixes to the default output: */

/* Set the tab width in "ch" character units: */
.pygmentize_s4cREn .tabspan {
  display: inline-block;
  width: 4ch;
}

/* When using line numbers, use 100% table width and no cellpadding: */
.pygmentize_s4cREntable {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
}


/*
#content table {
    border: 1px solid #E7E7E7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}
*/

.pygmentize_s4cREntable td, .pygmentize_s4cREntable th {
  padding: 0px;
  margin: 0px;
}

/* Add a little buffer so the monotype font doesn't bump directly against the edge: */
.pygmentize_s4cREn pre {
  padding: .6ch;
  
}

/* This is more consistent with <p> tags... I didn't like it for my use: */
/*
div .pygmentize_s4cREn {
    margin-bottom: 24px; 
}
*/

td.linenos.pygmentize_s4cREn {
  width: 1ch;
  padding: .6ch;
  line-height: 1.25em;
}

.pygmentize_s4cREn td {
  padding-right: 1px;
}


td.linenos { background-color: #f0f0f0; padding-right: 1px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
.pygmentize_s4cREn .hll { background-color: #404040 }
.pygmentize_s4cREn  { background: #202020; color: #d0d0d0 }
.pygmentize_s4cREn .c { color: #999999; font-style: italic } /* Comment */
.pygmentize_s4cREn .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.pygmentize_s4cREn .g { color: #d0d0d0 } /* Generic */
.pygmentize_s4cREn .k { color: #6ab825; font-weight: bold } /* Keyword */
.pygmentize_s4cREn .l { color: #d0d0d0 } /* Literal */
.pygmentize_s4cREn .n { color: #d0d0d0 } /* Name */
.pygmentize_s4cREn .o { color: #d0d0d0 } /* Operator */
.pygmentize_s4cREn .x { color: #d0d0d0 } /* Other */
.pygmentize_s4cREn .p { color: #d0d0d0 } /* Punctuation */
.pygmentize_s4cREn .cm { color: #999999; font-style: italic } /* Comment.Multiline */
.pygmentize_s4cREn .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
.pygmentize_s4cREn .c1 { color: #999999; font-style: italic } /* Comment.Single */
.pygmentize_s4cREn .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
.pygmentize_s4cREn .gd { color: #d22323 } /* Generic.Deleted */
.pygmentize_s4cREn .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
.pygmentize_s4cREn .gr { color: #d22323 } /* Generic.Error */
.pygmentize_s4cREn .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
.pygmentize_s4cREn .gi { color: #589819 } /* Generic.Inserted */
.pygmentize_s4cREn .go { color: #cccccc } /* Generic.Output */
.pygmentize_s4cREn .gp { color: #aaaaaa } /* Generic.Prompt */
.pygmentize_s4cREn .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
.pygmentize_s4cREn .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
.pygmentize_s4cREn .gt { color: #d22323 } /* Generic.Traceback */
.pygmentize_s4cREn .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
.pygmentize_s4cREn .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
.pygmentize_s4cREn .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
.pygmentize_s4cREn .kp { color: #6ab825 } /* Keyword.Pseudo */
.pygmentize_s4cREn .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
.pygmentize_s4cREn .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
.pygmentize_s4cREn .ld { color: #d0d0d0 } /* Literal.Date */
.pygmentize_s4cREn .m { color: #3677a9 } /* Literal.Number */
.pygmentize_s4cREn .s { color: #ed9d13 } /* Literal.String */
.pygmentize_s4cREn .na { color: #bbbbbb } /* Name.Attribute */
.pygmentize_s4cREn .nb { color: #24909d } /* Name.Builtin */
.pygmentize_s4cREn .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
.pygmentize_s4cREn .no { color: #40ffff } /* Name.Constant */
.pygmentize_s4cREn .nd { color: #ffa500 } /* Name.Decorator */
.pygmentize_s4cREn .ni { color: #d0d0d0 } /* Name.Entity */
.pygmentize_s4cREn .ne { color: #bbbbbb } /* Name.Exception */
.pygmentize_s4cREn .nf { color: #447fcf } /* Name.Function */
.pygmentize_s4cREn .nl { color: #d0d0d0 } /* Name.Label */
.pygmentize_s4cREn .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
.pygmentize_s4cREn .nx { color: #d0d0d0 } /* Name.Other */
.pygmentize_s4cREn .py { color: #d0d0d0 } /* Name.Property */
.pygmentize_s4cREn .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
.pygmentize_s4cREn .nv { color: #40ffff } /* Name.Variable */
.pygmentize_s4cREn .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
.pygmentize_s4cREn .w { color: #666666 } /* Text.Whitespace */
.pygmentize_s4cREn .mf { color: #3677a9 } /* Literal.Number.Float */
.pygmentize_s4cREn .mh { color: #3677a9 } /* Literal.Number.Hex */
.pygmentize_s4cREn .mi { color: #3677a9 } /* Literal.Number.Integer */
.pygmentize_s4cREn .mo { color: #3677a9 } /* Literal.Number.Oct */
.pygmentize_s4cREn .sb { color: #ed9d13 } /* Literal.String.Backtick */
.pygmentize_s4cREn .sc { color: #ed9d13 } /* Literal.String.Char */
.pygmentize_s4cREn .sd { color: #ed9d13 } /* Literal.String.Doc */
.pygmentize_s4cREn .s2 { color: #ed9d13 } /* Literal.String.Double */
.pygmentize_s4cREn .se { color: #ed9d13 } /* Literal.String.Escape */
.pygmentize_s4cREn .sh { color: #ed9d13 } /* Literal.String.Heredoc */
.pygmentize_s4cREn .si { color: #ed9d13 } /* Literal.String.Interpol */
.pygmentize_s4cREn .sx { color: #ffa500 } /* Literal.String.Other */
.pygmentize_s4cREn .sr { color: #ed9d13 } /* Literal.String.Regex */
.pygmentize_s4cREn .s1 { color: #ed9d13 } /* Literal.String.Single */
.pygmentize_s4cREn .ss { color: #ed9d13 } /* Literal.String.Symbol */
.pygmentize_s4cREn .bp { color: #24909d } /* Name.Builtin.Pseudo */
.pygmentize_s4cREn .vc { color: #40ffff } /* Name.Variable.Class */
.pygmentize_s4cREn .vg { color: #40ffff } /* Name.Variable.Global */
.pygmentize_s4cREn .vi { color: #40ffff } /* Name.Variable.Instance */
.pygmentize_s4cREn .il { color: #3677a9 } /* Literal.Number.Integer.Long */

  </style>




<table class="pygmentize_s4cREntable"><tr><td class="linenos pygmentize_s4cREn"><div class="linenodiv pygmentize_s4cREn"><pre>1</pre></div></td><td class="code"><div class="pygmentize_s4cREn"><pre>django-admin.py startproject proyecto_web
</pre></div>
</td></tr></table>

<p>Importante remarcar que un proyecto no es una aplicación sino una instancia completa de Django. Nuestro «Hola mundo» será precisamente una de muchas posibles aplicaciones escritas en nuestro proyecto. Aquí podemos ver la estructura por defecto de nuestro proyecto.</p>
<style type="text/css">


/* *************************************************** */
/* WordPress default theme "twenty-ten" compatibility: */
/* FIXME: Is there a way to limit these changes to pygmentize_lGdNSX  */
/*        without editing the WordPress theme directly? */
/* *************************************************** */

#content pre {
  /* The background: transparent is needed to work with WordPress:*/
  background: transparent;
  /* Default WordPress style has a big fat <pre> margin-bottom: */
  margin-bottom: 0px;

  /*color: #333333;*/
  font-size: .9em; 
  line-height: 1.25em;
}

#content table {
}

#content table {
	border: 1px solid #e7e7e7;
    margin: 0 0 0 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 0px;
}
#content tr td {
	border: 0px;
	padding: 0px;
	margin: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

/* *************************************************** */
/* *************************************************** */

/* Standard fixes to the default output: */

/* Set the tab width in "ch" character units: */
.pygmentize_lGdNSX .tabspan {
  display: inline-block;
  width: 4ch;
}

/* When using line numbers, use 100% table width and no cellpadding: */
.pygmentize_lGdNSXtable {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
}


/*
#content table {
    border: 1px solid #E7E7E7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}
*/

.pygmentize_lGdNSXtable td, .pygmentize_lGdNSXtable th {
  padding: 0px;
  margin: 0px;
}

/* Add a little buffer so the monotype font doesn't bump directly against the edge: */
.pygmentize_lGdNSX pre {
  padding: .6ch;
  
}

/* This is more consistent with <p> tags... I didn't like it for my use: */
/*
div .pygmentize_lGdNSX {
    margin-bottom: 24px; 
}
*/

td.linenos.pygmentize_lGdNSX {
  width: 1ch;
  padding: .6ch;
  line-height: 1.25em;
}

.pygmentize_lGdNSX td {
  padding-right: 1px;
}


td.linenos { background-color: #f0f0f0; padding-right: 1px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
.pygmentize_lGdNSX .hll { background-color: #404040 }
.pygmentize_lGdNSX  { background: #202020; color: #d0d0d0 }
.pygmentize_lGdNSX .c { color: #999999; font-style: italic } /* Comment */
.pygmentize_lGdNSX .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.pygmentize_lGdNSX .g { color: #d0d0d0 } /* Generic */
.pygmentize_lGdNSX .k { color: #6ab825; font-weight: bold } /* Keyword */
.pygmentize_lGdNSX .l { color: #d0d0d0 } /* Literal */
.pygmentize_lGdNSX .n { color: #d0d0d0 } /* Name */
.pygmentize_lGdNSX .o { color: #d0d0d0 } /* Operator */
.pygmentize_lGdNSX .x { color: #d0d0d0 } /* Other */
.pygmentize_lGdNSX .p { color: #d0d0d0 } /* Punctuation */
.pygmentize_lGdNSX .cm { color: #999999; font-style: italic } /* Comment.Multiline */
.pygmentize_lGdNSX .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
.pygmentize_lGdNSX .c1 { color: #999999; font-style: italic } /* Comment.Single */
.pygmentize_lGdNSX .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
.pygmentize_lGdNSX .gd { color: #d22323 } /* Generic.Deleted */
.pygmentize_lGdNSX .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
.pygmentize_lGdNSX .gr { color: #d22323 } /* Generic.Error */
.pygmentize_lGdNSX .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
.pygmentize_lGdNSX .gi { color: #589819 } /* Generic.Inserted */
.pygmentize_lGdNSX .go { color: #cccccc } /* Generic.Output */
.pygmentize_lGdNSX .gp { color: #aaaaaa } /* Generic.Prompt */
.pygmentize_lGdNSX .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
.pygmentize_lGdNSX .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
.pygmentize_lGdNSX .gt { color: #d22323 } /* Generic.Traceback */
.pygmentize_lGdNSX .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
.pygmentize_lGdNSX .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
.pygmentize_lGdNSX .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
.pygmentize_lGdNSX .kp { color: #6ab825 } /* Keyword.Pseudo */
.pygmentize_lGdNSX .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
.pygmentize_lGdNSX .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
.pygmentize_lGdNSX .ld { color: #d0d0d0 } /* Literal.Date */
.pygmentize_lGdNSX .m { color: #3677a9 } /* Literal.Number */
.pygmentize_lGdNSX .s { color: #ed9d13 } /* Literal.String */
.pygmentize_lGdNSX .na { color: #bbbbbb } /* Name.Attribute */
.pygmentize_lGdNSX .nb { color: #24909d } /* Name.Builtin */
.pygmentize_lGdNSX .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
.pygmentize_lGdNSX .no { color: #40ffff } /* Name.Constant */
.pygmentize_lGdNSX .nd { color: #ffa500 } /* Name.Decorator */
.pygmentize_lGdNSX .ni { color: #d0d0d0 } /* Name.Entity */
.pygmentize_lGdNSX .ne { color: #bbbbbb } /* Name.Exception */
.pygmentize_lGdNSX .nf { color: #447fcf } /* Name.Function */
.pygmentize_lGdNSX .nl { color: #d0d0d0 } /* Name.Label */
.pygmentize_lGdNSX .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
.pygmentize_lGdNSX .nx { color: #d0d0d0 } /* Name.Other */
.pygmentize_lGdNSX .py { color: #d0d0d0 } /* Name.Property */
.pygmentize_lGdNSX .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
.pygmentize_lGdNSX .nv { color: #40ffff } /* Name.Variable */
.pygmentize_lGdNSX .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
.pygmentize_lGdNSX .w { color: #666666 } /* Text.Whitespace */
.pygmentize_lGdNSX .mf { color: #3677a9 } /* Literal.Number.Float */
.pygmentize_lGdNSX .mh { color: #3677a9 } /* Literal.Number.Hex */
.pygmentize_lGdNSX .mi { color: #3677a9 } /* Literal.Number.Integer */
.pygmentize_lGdNSX .mo { color: #3677a9 } /* Literal.Number.Oct */
.pygmentize_lGdNSX .sb { color: #ed9d13 } /* Literal.String.Backtick */
.pygmentize_lGdNSX .sc { color: #ed9d13 } /* Literal.String.Char */
.pygmentize_lGdNSX .sd { color: #ed9d13 } /* Literal.String.Doc */
.pygmentize_lGdNSX .s2 { color: #ed9d13 } /* Literal.String.Double */
.pygmentize_lGdNSX .se { color: #ed9d13 } /* Literal.String.Escape */
.pygmentize_lGdNSX .sh { color: #ed9d13 } /* Literal.String.Heredoc */
.pygmentize_lGdNSX .si { color: #ed9d13 } /* Literal.String.Interpol */
.pygmentize_lGdNSX .sx { color: #ffa500 } /* Literal.String.Other */
.pygmentize_lGdNSX .sr { color: #ed9d13 } /* Literal.String.Regex */
.pygmentize_lGdNSX .s1 { color: #ed9d13 } /* Literal.String.Single */
.pygmentize_lGdNSX .ss { color: #ed9d13 } /* Literal.String.Symbol */
.pygmentize_lGdNSX .bp { color: #24909d } /* Name.Builtin.Pseudo */
.pygmentize_lGdNSX .vc { color: #40ffff } /* Name.Variable.Class */
.pygmentize_lGdNSX .vg { color: #40ffff } /* Name.Variable.Global */
.pygmentize_lGdNSX .vi { color: #40ffff } /* Name.Variable.Instance */
.pygmentize_lGdNSX .il { color: #3677a9 } /* Literal.Number.Integer.Long */

  </style>




<table class="pygmentize_lGdNSXtable"><tr><td class="linenos pygmentize_lGdNSX"><div class="linenodiv pygmentize_lGdNSX"><pre>1
2
3
4
5
6
7</pre></div></td><td class="code"><div class="pygmentize_lGdNSX"><pre>proyecto_web
    manage.py
    proyecto_web
        __init__.py
        settings.py
        urls.py
        wsgi.py
</pre></div>
</td></tr></table>

<p>Podemos encontrar una descripción detallada de de cada unos de estos archivos y directorios en el tutorial en su apartado «<a href="https://docs.djangoproject.com/en/dev/intro/tutorial01/#creating-a-project">Creando un proyecto</a>».</p>
<h2>Creando nuestra aplicación «Hola mundo»</h2>
<p>Podemos añadir una nueva aplicación a nuestro proyecto ejecutando, situados en el directorio raíz de nuestro proyecto, el siguiente comando:</p>
<style type="text/css">


/* *************************************************** */
/* WordPress default theme "twenty-ten" compatibility: */
/* FIXME: Is there a way to limit these changes to pygmentize_rxKwmy  */
/*        without editing the WordPress theme directly? */
/* *************************************************** */

#content pre {
  /* The background: transparent is needed to work with WordPress:*/
  background: transparent;
  /* Default WordPress style has a big fat <pre> margin-bottom: */
  margin-bottom: 0px;

  /*color: #333333;*/
  font-size: .9em; 
  line-height: 1.25em;
}

#content table {
}

#content table {
	border: 1px solid #e7e7e7;
    margin: 0 0 0 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 0px;
}
#content tr td {
	border: 0px;
	padding: 0px;
	margin: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

/* *************************************************** */
/* *************************************************** */

/* Standard fixes to the default output: */

/* Set the tab width in "ch" character units: */
.pygmentize_rxKwmy .tabspan {
  display: inline-block;
  width: 4ch;
}

/* When using line numbers, use 100% table width and no cellpadding: */
.pygmentize_rxKwmytable {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
}


/*
#content table {
    border: 1px solid #E7E7E7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}
*/

.pygmentize_rxKwmytable td, .pygmentize_rxKwmytable th {
  padding: 0px;
  margin: 0px;
}

/* Add a little buffer so the monotype font doesn't bump directly against the edge: */
.pygmentize_rxKwmy pre {
  padding: .6ch;
  
}

/* This is more consistent with <p> tags... I didn't like it for my use: */
/*
div .pygmentize_rxKwmy {
    margin-bottom: 24px; 
}
*/

td.linenos.pygmentize_rxKwmy {
  width: 1ch;
  padding: .6ch;
  line-height: 1.25em;
}

.pygmentize_rxKwmy td {
  padding-right: 1px;
}


td.linenos { background-color: #f0f0f0; padding-right: 1px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
.pygmentize_rxKwmy .hll { background-color: #404040 }
.pygmentize_rxKwmy  { background: #202020; color: #d0d0d0 }
.pygmentize_rxKwmy .c { color: #999999; font-style: italic } /* Comment */
.pygmentize_rxKwmy .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.pygmentize_rxKwmy .g { color: #d0d0d0 } /* Generic */
.pygmentize_rxKwmy .k { color: #6ab825; font-weight: bold } /* Keyword */
.pygmentize_rxKwmy .l { color: #d0d0d0 } /* Literal */
.pygmentize_rxKwmy .n { color: #d0d0d0 } /* Name */
.pygmentize_rxKwmy .o { color: #d0d0d0 } /* Operator */
.pygmentize_rxKwmy .x { color: #d0d0d0 } /* Other */
.pygmentize_rxKwmy .p { color: #d0d0d0 } /* Punctuation */
.pygmentize_rxKwmy .cm { color: #999999; font-style: italic } /* Comment.Multiline */
.pygmentize_rxKwmy .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
.pygmentize_rxKwmy .c1 { color: #999999; font-style: italic } /* Comment.Single */
.pygmentize_rxKwmy .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
.pygmentize_rxKwmy .gd { color: #d22323 } /* Generic.Deleted */
.pygmentize_rxKwmy .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
.pygmentize_rxKwmy .gr { color: #d22323 } /* Generic.Error */
.pygmentize_rxKwmy .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
.pygmentize_rxKwmy .gi { color: #589819 } /* Generic.Inserted */
.pygmentize_rxKwmy .go { color: #cccccc } /* Generic.Output */
.pygmentize_rxKwmy .gp { color: #aaaaaa } /* Generic.Prompt */
.pygmentize_rxKwmy .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
.pygmentize_rxKwmy .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
.pygmentize_rxKwmy .gt { color: #d22323 } /* Generic.Traceback */
.pygmentize_rxKwmy .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
.pygmentize_rxKwmy .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
.pygmentize_rxKwmy .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
.pygmentize_rxKwmy .kp { color: #6ab825 } /* Keyword.Pseudo */
.pygmentize_rxKwmy .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
.pygmentize_rxKwmy .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
.pygmentize_rxKwmy .ld { color: #d0d0d0 } /* Literal.Date */
.pygmentize_rxKwmy .m { color: #3677a9 } /* Literal.Number */
.pygmentize_rxKwmy .s { color: #ed9d13 } /* Literal.String */
.pygmentize_rxKwmy .na { color: #bbbbbb } /* Name.Attribute */
.pygmentize_rxKwmy .nb { color: #24909d } /* Name.Builtin */
.pygmentize_rxKwmy .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
.pygmentize_rxKwmy .no { color: #40ffff } /* Name.Constant */
.pygmentize_rxKwmy .nd { color: #ffa500 } /* Name.Decorator */
.pygmentize_rxKwmy .ni { color: #d0d0d0 } /* Name.Entity */
.pygmentize_rxKwmy .ne { color: #bbbbbb } /* Name.Exception */
.pygmentize_rxKwmy .nf { color: #447fcf } /* Name.Function */
.pygmentize_rxKwmy .nl { color: #d0d0d0 } /* Name.Label */
.pygmentize_rxKwmy .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
.pygmentize_rxKwmy .nx { color: #d0d0d0 } /* Name.Other */
.pygmentize_rxKwmy .py { color: #d0d0d0 } /* Name.Property */
.pygmentize_rxKwmy .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
.pygmentize_rxKwmy .nv { color: #40ffff } /* Name.Variable */
.pygmentize_rxKwmy .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
.pygmentize_rxKwmy .w { color: #666666 } /* Text.Whitespace */
.pygmentize_rxKwmy .mf { color: #3677a9 } /* Literal.Number.Float */
.pygmentize_rxKwmy .mh { color: #3677a9 } /* Literal.Number.Hex */
.pygmentize_rxKwmy .mi { color: #3677a9 } /* Literal.Number.Integer */
.pygmentize_rxKwmy .mo { color: #3677a9 } /* Literal.Number.Oct */
.pygmentize_rxKwmy .sb { color: #ed9d13 } /* Literal.String.Backtick */
.pygmentize_rxKwmy .sc { color: #ed9d13 } /* Literal.String.Char */
.pygmentize_rxKwmy .sd { color: #ed9d13 } /* Literal.String.Doc */
.pygmentize_rxKwmy .s2 { color: #ed9d13 } /* Literal.String.Double */
.pygmentize_rxKwmy .se { color: #ed9d13 } /* Literal.String.Escape */
.pygmentize_rxKwmy .sh { color: #ed9d13 } /* Literal.String.Heredoc */
.pygmentize_rxKwmy .si { color: #ed9d13 } /* Literal.String.Interpol */
.pygmentize_rxKwmy .sx { color: #ffa500 } /* Literal.String.Other */
.pygmentize_rxKwmy .sr { color: #ed9d13 } /* Literal.String.Regex */
.pygmentize_rxKwmy .s1 { color: #ed9d13 } /* Literal.String.Single */
.pygmentize_rxKwmy .ss { color: #ed9d13 } /* Literal.String.Symbol */
.pygmentize_rxKwmy .bp { color: #24909d } /* Name.Builtin.Pseudo */
.pygmentize_rxKwmy .vc { color: #40ffff } /* Name.Variable.Class */
.pygmentize_rxKwmy .vg { color: #40ffff } /* Name.Variable.Global */
.pygmentize_rxKwmy .vi { color: #40ffff } /* Name.Variable.Instance */
.pygmentize_rxKwmy .il { color: #3677a9 } /* Literal.Number.Integer.Long */

  </style>




<table class="pygmentize_rxKwmytable"><tr><td class="linenos pygmentize_rxKwmy"><div class="linenodiv pygmentize_rxKwmy"><pre>1</pre></div></td><td class="code"><div class="pygmentize_rxKwmy"><pre>python manage.py startapp hola_mundo
</pre></div>
</td></tr></table>

<p>De esta forma tenemos la siguiente estructura de directorio:</p>
<style type="text/css">


/* *************************************************** */
/* WordPress default theme "twenty-ten" compatibility: */
/* FIXME: Is there a way to limit these changes to pygmentize_WTC358  */
/*        without editing the WordPress theme directly? */
/* *************************************************** */

#content pre {
  /* The background: transparent is needed to work with WordPress:*/
  background: transparent;
  /* Default WordPress style has a big fat <pre> margin-bottom: */
  margin-bottom: 0px;

  /*color: #333333;*/
  font-size: .9em; 
  line-height: 1.25em;
}

#content table {
}

#content table {
	border: 1px solid #e7e7e7;
    margin: 0 0 0 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 0px;
}
#content tr td {
	border: 0px;
	padding: 0px;
	margin: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

/* *************************************************** */
/* *************************************************** */

/* Standard fixes to the default output: */

/* Set the tab width in "ch" character units: */
.pygmentize_WTC358 .tabspan {
  display: inline-block;
  width: 4ch;
}

/* When using line numbers, use 100% table width and no cellpadding: */
.pygmentize_WTC358table {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
}


/*
#content table {
    border: 1px solid #E7E7E7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}
*/

.pygmentize_WTC358table td, .pygmentize_WTC358table th {
  padding: 0px;
  margin: 0px;
}

/* Add a little buffer so the monotype font doesn't bump directly against the edge: */
.pygmentize_WTC358 pre {
  padding: .6ch;
  
}

/* This is more consistent with <p> tags... I didn't like it for my use: */
/*
div .pygmentize_WTC358 {
    margin-bottom: 24px; 
}
*/

td.linenos.pygmentize_WTC358 {
  width: 1ch;
  padding: .6ch;
  line-height: 1.25em;
}

.pygmentize_WTC358 td {
  padding-right: 1px;
}


td.linenos { background-color: #f0f0f0; padding-right: 1px; }
span.lineno { background-color: #f0f0f0; padding: 0 5px 0 5px; }
pre { line-height: 125%; }
.pygmentize_WTC358 .hll { background-color: #404040 }
.pygmentize_WTC358  { background: #202020; color: #d0d0d0 }
.pygmentize_WTC358 .c { color: #999999; font-style: italic } /* Comment */
.pygmentize_WTC358 .err { color: #a61717; background-color: #e3d2d2 } /* Error */
.pygmentize_WTC358 .g { color: #d0d0d0 } /* Generic */
.pygmentize_WTC358 .k { color: #6ab825; font-weight: bold } /* Keyword */
.pygmentize_WTC358 .l { color: #d0d0d0 } /* Literal */
.pygmentize_WTC358 .n { color: #d0d0d0 } /* Name */
.pygmentize_WTC358 .o { color: #d0d0d0 } /* Operator */
.pygmentize_WTC358 .x { color: #d0d0d0 } /* Other */
.pygmentize_WTC358 .p { color: #d0d0d0 } /* Punctuation */
.pygmentize_WTC358 .cm { color: #999999; font-style: italic } /* Comment.Multiline */
.pygmentize_WTC358 .cp { color: #cd2828; font-weight: bold } /* Comment.Preproc */
.pygmentize_WTC358 .c1 { color: #999999; font-style: italic } /* Comment.Single */
.pygmentize_WTC358 .cs { color: #e50808; font-weight: bold; background-color: #520000 } /* Comment.Special */
.pygmentize_WTC358 .gd { color: #d22323 } /* Generic.Deleted */
.pygmentize_WTC358 .ge { color: #d0d0d0; font-style: italic } /* Generic.Emph */
.pygmentize_WTC358 .gr { color: #d22323 } /* Generic.Error */
.pygmentize_WTC358 .gh { color: #ffffff; font-weight: bold } /* Generic.Heading */
.pygmentize_WTC358 .gi { color: #589819 } /* Generic.Inserted */
.pygmentize_WTC358 .go { color: #cccccc } /* Generic.Output */
.pygmentize_WTC358 .gp { color: #aaaaaa } /* Generic.Prompt */
.pygmentize_WTC358 .gs { color: #d0d0d0; font-weight: bold } /* Generic.Strong */
.pygmentize_WTC358 .gu { color: #ffffff; text-decoration: underline } /* Generic.Subheading */
.pygmentize_WTC358 .gt { color: #d22323 } /* Generic.Traceback */
.pygmentize_WTC358 .kc { color: #6ab825; font-weight: bold } /* Keyword.Constant */
.pygmentize_WTC358 .kd { color: #6ab825; font-weight: bold } /* Keyword.Declaration */
.pygmentize_WTC358 .kn { color: #6ab825; font-weight: bold } /* Keyword.Namespace */
.pygmentize_WTC358 .kp { color: #6ab825 } /* Keyword.Pseudo */
.pygmentize_WTC358 .kr { color: #6ab825; font-weight: bold } /* Keyword.Reserved */
.pygmentize_WTC358 .kt { color: #6ab825; font-weight: bold } /* Keyword.Type */
.pygmentize_WTC358 .ld { color: #d0d0d0 } /* Literal.Date */
.pygmentize_WTC358 .m { color: #3677a9 } /* Literal.Number */
.pygmentize_WTC358 .s { color: #ed9d13 } /* Literal.String */
.pygmentize_WTC358 .na { color: #bbbbbb } /* Name.Attribute */
.pygmentize_WTC358 .nb { color: #24909d } /* Name.Builtin */
.pygmentize_WTC358 .nc { color: #447fcf; text-decoration: underline } /* Name.Class */
.pygmentize_WTC358 .no { color: #40ffff } /* Name.Constant */
.pygmentize_WTC358 .nd { color: #ffa500 } /* Name.Decorator */
.pygmentize_WTC358 .ni { color: #d0d0d0 } /* Name.Entity */
.pygmentize_WTC358 .ne { color: #bbbbbb } /* Name.Exception */
.pygmentize_WTC358 .nf { color: #447fcf } /* Name.Function */
.pygmentize_WTC358 .nl { color: #d0d0d0 } /* Name.Label */
.pygmentize_WTC358 .nn { color: #447fcf; text-decoration: underline } /* Name.Namespace */
.pygmentize_WTC358 .nx { color: #d0d0d0 } /* Name.Other */
.pygmentize_WTC358 .py { color: #d0d0d0 } /* Name.Property */
.pygmentize_WTC358 .nt { color: #6ab825; font-weight: bold } /* Name.Tag */
.pygmentize_WTC358 .nv { color: #40ffff } /* Name.Variable */
.pygmentize_WTC358 .ow { color: #6ab825; font-weight: bold } /* Operator.Word */
.pygmentize_WTC358 .w { color: #666666 } /* Text.Whitespace */
.pygmentize_WTC358 .mf { color: #3677a9 } /* Literal.Number.Float */
.pygmentize_WTC358 .mh { color: #3677a9 } /* Literal.Number.Hex */
.pygmentize_WTC358 .mi { color: #3677a9 } /* Literal.Number.Integer */
.pygmentize_WTC358 .mo { color: #3677a9 } /* Literal.Number.Oct */
.pygmentize_WTC358 .sb { color: #ed9d13 } /* Literal.String.Backtick */
.pygmentize_WTC358 .sc { color: #ed9d13 } /* Literal.String.Char */
.pygmentize_WTC358 .sd { color: #ed9d13 } /* Literal.String.Doc */
.pygmentize_WTC358 .s2 { color: #ed9d13 } /* Literal.String.Double */
.pygmentize_WTC358 .se { color: #ed9d13 } /* Literal.String.Escape */
.pygmentize_WTC358 .sh { color: #ed9d13 } /* Literal.String.Heredoc */
.pygmentize_WTC358 .si { color: #ed9d13 } /* Literal.String.Interpol */
.pygmentize_WTC358 .sx { color: #ffa500 } /* Literal.String.Other */
.pygmentize_WTC358 .sr { color: #ed9d13 } /* Literal.String.Regex */
.pygmentize_WTC358 .s1 { color: #ed9d13 } /* Literal.String.Single */
.pygmentize_WTC358 .ss { color: #ed9d13 } /* Literal.String.Symbol */
.pygmentize_WTC358 .bp { color: #24909d } /* Name.Builtin.Pseudo */
.pygmentize_WTC358 .vc { color: #40ffff } /* Name.Variable.Class */
.pygmentize_WTC358 .vg { color: #40ffff } /* Name.Variable.Global */
.pygmentize_WTC358 .vi { color: #40ffff } /* Name.Variable.Instance */
.pygmentize_WTC358 .il { color: #3677a9 } /* Literal.Number.Integer.Long */

  </style>




<table class="pygmentize_WTC358table"><tr><td class="linenos pygmentize_WTC358"><div class="linenodiv pygmentize_WTC358"><pre> 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12</pre></div></td><td class="code"><div class="pygmentize_WTC358"><pre>proyecto_web
    manage.py
    proyecto_web
        __init__.py
        settings.py
        urls.py
        wsgi.py
    hola_mundo
        __init__.py
        models.py
        tests.py
        views.py
</pre></div>
</td></tr></table>

<p>Ahora antes de comenzar a trabajar en el desarrollo de nuestra aplicación tenemos que nuestra aplicación <em>hola_mundo</em> esta instalada. Para esto editamos el fichero <em>settings.py</em> y añadimos a la tupla de aplicaciones instaladas del proyecto, INSTALLED_APPS, nuestra aplicación <em>hola_mundo</em>. Quedaría de la siguiente forma:</p>
<style type="text/css">


/* *************************************************** */
/* WordPress default theme "twenty-ten" compatibility: */
/* FIXME: Is there a way to limit these changes to pygmentize_f6XKeK  */
/*        without editing the WordPress theme directly? */
/* *************************************************** */

#content pre {
  /* The background: transparent is needed to work with WordPress:*/
  background: transparent;
  /* Default WordPress style has a big fat <pre> margin-bottom: */
  margin-bottom: 0px;

  /*color: #333333;*/
  font-size: .9em; 
  line-height: 1.25em;
}

#content table {
}

#content table {
	border: 1px solid #e7e7e7;
    margin: 0 0 0 0;
	text-align: left;
	width: 100%;
}
#content tr th,
#content thead th {
	color: #888;
	font-size: 12px;
	font-weight: bold;
	line-height: 18px;
	padding: 0px;
}
#content tr td {
	border: 0px;
	padding: 0px;
	margin: 0px;
    margin-bottom: 0px;
    padding-bottom: 0px;

}

/* *************************************************** */
/* *************************************************** */

/* Standard fixes to the default output: */

/* Set the tab width in "ch" character units: */
.pygmentize_f6XKeK .tabspan {
  display: inline-block;
  width: 4ch;
}

/* When using line numbers, use 100% table width and no cellpadding: */
.pygmentize_f6XKeKtable {
  width: 100%;
  border-spacing: 0px;
  border-collapse: collapse;
}


/*
#content table {
    border: 1px solid #E7E7E7;
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
}
*/

.pygmentize_f6XKeKtable td, .pygmentize_f6XKeKtable th {
  padding: 0px;
  margin: 0px;
}

/* Add a little buffer so the monotype font doesn't bump directly against the edge: */
.pygmentize_f6XKeK pre {
  padding: .6ch;
  
}

/* This is more consistent with <p> tags... I didn't like it for my use: */
/*
div .pygmentize_f6XKeK {
    margin-bottom: 24px; 
}
*/

td.linenos.pygmentize_f6XKeK {
  width: 1ch;
  padding: .6ch;
  line-height: 1.25em;
}

.pygmentize_f6XKeK td {
  padding-right: 1px;
}


]]></content:encoded>
			<wfw:commentRss>http://artedelascosas.com/hello-world/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

