Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-27 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--+
 Reporter:  kevinconway   |Owner:  pkatseas
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"2acf9d099d29f45c829ee0127e55b7cfdd201995" 2acf9d09]:
 {{{
 #!CommitTicketReference repository=""
 revision="2acf9d099d29f45c829ee0127e55b7cfdd201995"
 Fixed #24519 -- Clarified location of templates directory in tutorial 2.
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.335c498968c2bf8ccd4b7f8baf83ac31%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-27 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--+
 Reporter:  kevinconway   |Owner:  pkatseas
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by Tim Graham ):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"6a2f46f2381269187195a0f9165a893f54dc01a3" 6a2f46f2]:
 {{{
 #!CommitTicketReference repository=""
 revision="6a2f46f2381269187195a0f9165a893f54dc01a3"
 [1.8.x] Fixed #24519 -- Clarified location of templates directory in
 tutorial 2.

 Backport of 2acf9d099d29f45c829ee0127e55b7cfdd201995 from master
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.ac6225892d0b5e900ffceb7ff357e76d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-27 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--+
 Reporter:  kevinconway   |Owner:  pkatseas
 Type:  Cleanup/optimization  |   Status:  closed
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:  fixed
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+

Comment (by Tim Graham ):

 In [changeset:"da07f4b08fbf42fd71f15487d33301bb689f2655" da07f4b0]:
 {{{
 #!CommitTicketReference repository=""
 revision="da07f4b08fbf42fd71f15487d33301bb689f2655"
 [1.7.x] Fixed #24519 -- Clarified location of templates directory in
 tutorial 2.

 Backport of 2acf9d099d29f45c829ee0127e55b7cfdd201995 from master
 }}}

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.cb65ea91c6d9d6a58b94af1596f99d3f%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-24 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--+
 Reporter:  kevinconway   |Owner:  pkatseas
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by timgraham):

 * Attachment "24519.diff" added.


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.893ed8ca182c3e83e4fdc15c25ad2cb8%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-24 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--+
 Reporter:  kevinconway   |Owner:  pkatseas
 Type:  Cleanup/optimization  |   Status:  assigned
Component:  Documentation |  Version:  1.7
 Severity:  Normal|   Resolution:
 Keywords:| Triage Stage:  Accepted
Has patch:  1 |  Needs documentation:  0
  Needs tests:  0 |  Patch needs improvement:  0
Easy pickings:  1 |UI/UX:  0
--+
Changes (by timgraham):

 * stage:  Unreviewed => Accepted


Comment:

 The "project directory" refers to the outer "mysite" directory, not the
 inner one. See the [https://docs.djangoproject.com/en/1.7/intro/reusable-
 apps/#your-project-and-your-reusable-app reusable app tutorial] for the
 final layout. Attaching a suggested patch.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.50477fa6cecbbc72236fb3d50a9457f3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-22 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
-+-
 Reporter:  kevinconway  |Owner:  pkatseas
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Documentation|  Version:  1.7
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-

Comment (by kevinconway):

 This patch is a good addition. It only partially resolves the issue,
 though.

 I'm pretty sure putting the templates next to the settings.py _is_ the
 correct step, but the default {{{BASE_DIR}}} points to the directory
 _above_ the settings.py. This means, in order to successfully complete
 tutorial02, you have to place the templates outside of the code, in the
 repository root.

 If placing the templates within the project Python package is correct, you
 also need to modify the {{{TEMPLATES_DIRS = [os.path.join(BASE_DIR,
 'templates')]}}} line to something more like {{{TEMPLATES_DIRS =
 [os.path.join(BASE_DIR, 'project_directory', 'templates')]}}}.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.30b9c998a15764740347026866cdf3b4%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-22 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
-+-
 Reporter:  kevinconway  |Owner:  pkatseas
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Documentation|  Version:  1.7
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by pkatseas):

 * has_patch:  0 => 1


Comment:

 Added pull request at: [https://github.com/django/django/pull/4370]

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.53319f4881ea717736bdde90f5bcd1e5%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-22 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
-+-
 Reporter:  kevinconway  |Owner:  pkatseas
 Type:   |   Status:  assigned
  Cleanup/optimization   |
Component:  Documentation|  Version:  1.7
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:
 |  Unreviewed
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  1|UI/UX:  0
-+-
Changes (by pkatseas):

 * owner:  nobody => pkatseas
 * needs_better_patch:   => 0
 * status:  new => assigned
 * needs_tests:   => 0
 * needs_docs:   => 0


--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/069.63e383b554e82d8475b3c21b40427071%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #24519: Language mismatch (word: project) between tutorial01 and tutorial02

2015-03-21 Thread Django
#24519: Language mismatch (word: project) between tutorial01 and tutorial02
--+
 Reporter:  kevinconway   |  Owner:  nobody
 Type:  Cleanup/optimization  | Status:  new
Component:  Documentation |Version:  1.7
 Severity:  Normal|   Keywords:
 Triage Stage:  Unreviewed|  Has patch:  0
Easy pickings:  1 |  UI/UX:  0
--+
 Tutorial01 defines a project as "a collection of configuration and apps
 for a particular Web site" which specifically refers to the Python package
 generated by "{{{django-admin startproject }}}".

 In tutorial02, while modifying the look and feel of the admin page, the
 guide asks the user to create a "templates" directory within the project
 and add "{{{TEMPLATE_DIRS = [os.path.join(BASE_DIR, 'templates')]}}}" to
 the settings.py which is also within the project. However, the
 "{{{BASE_DIR}}}" value resolves to the directory containing the django
 project Python package rather than the Python package itself as the
 default value is "{{{os.path.dirname(os.path.dirname(__file__))}}}".

 The documentation should clarify in tutorial02 whether project refers to
 the django project or the containing directory.

--
Ticket URL: 
Django 
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.d235a4ffcf64c2c92fde625573a56786%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.