That could be it. I downloaded the latest official version, 1.2.4. I
totally overlooked that comment at the top.
On Jan 5, 12:13 am, Daniel Roseman wrote:
> On Tuesday, January 4, 2011 3:07:58 PM UTC, Anthony Pearce wrote:
>
> > While completing "Writing your first Django ap
While completing "Writing your first Django app, part 4", I ran into
an error. I have almost completed the online tutorial, but using the
code verbatum, I get this error. I even went as far as to cut and
paste the code, rather than typing it as I usually do, just in case I
made a simple error I cou
ughrabi" wrote:
> By document root they mean apache public directory, aka htdocs
>
> Sent from my iPhone
>
> On Jan 3, 2011, at 4:53 PM, Anthony Pearce wrote:
>
>
>
> > In Tutorial 2, I was instructed to make a templates directory. It is
> > located at:
>
In Tutorial 2, I was instructed to make a templates directory. It is
located at:
C:\DjangoProjects\mysite\templates
Now again in Tutorial 3, section "Write views that actually do
something", I am given the instructions:
create a directory, somewhere on your filesystem, whose
content
tml to
> C:\DjangoProjects\mysite\mytemplates\admin
> folder and Leave the TEMPLATE_DIRS as it is, which is "*
> C:/DjangoProjects/mysite/mytemplates*" only. and please try removing the /
> slash at the end.
>
>
>
>
>
> On Sun, Jan 2, 2011 at 5:36 PM, Anthony Pe
amed
> template under *D:\myproject*, and in that folder create a folder named *admin
> *and then copy and paste base_site.html into the admin folder.
>
> TEMPLATE_DIRS section should look like the below snippet in settings.py
>
> *
> TEMPLATE_DIRS = (
> 'D:/myproject /
> 'D:/myproject /templates'
> )
>
> *
>
>
>
>
>
> On Sun, Jan 2, 2011 at 10:04 AM, Anthony Pearce wrote:
> > I have made it to the "Writing your first Django app, part 2" page
> > down to "Customize the admin look and feel"
"DjangoProjects/mysite/mytemplates/admin/" but I created the
"mytemplates" and "admin" directories for this purpose.
What exactly is this supposed to do for me anyway? I thought it would
allow me to edit the "Django administration" bar at the top, but I
can't as of yet.
On Jan 2, 8:05 pm, Daniel
I have made it to the "Writing your first Django app, part 2" page
down to "Customize the admin look and feel", at the bottom. I'm stuck
with this paragraph..
Now copy the template admin/base_site.html from within the default
Django admin template directory in the source code of Django itself
n.py from there.
>
> You do not want to put your django project folder in your www folder,
> since that may allow access to the sources themselves, instead of
> running them to create the html.
>
> On 1/2/2011 12:14 AM, Anthony Pearce wrote:
>
>
>
> > Quote from &qu
t django-admin.py set up the
> folder.
>
> On 1 January 2011 16:14, Anthony Pearce wrote:
>
>
>
> > Quote from "Writing your first Django app, part 1":
>
> > From the command line, cd into a directory where you’d like to store
> > your code, then
Quote from "Writing your first Django app, part 1":
>From the command line, cd into a directory where you’d like to store
your code, then run the command django-admin.py startproject mysite.
This will create a mysite directory in your current directory.
Put your code in some directory outside of
12 matches
Mail list logo