Re: [Django] #24971: Make startapp generate an apps.py

2015-11-17 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham ):

 In [changeset:"7bbfc43e34c1909b8edfc8e3188c35447cffef15" 7bbfc43e]:
 {{{
 #!CommitTicketReference repository=""
 revision="7bbfc43e34c1909b8edfc8e3188c35447cffef15"
 [1.9.x] Refs #24971, #25356 -- Clarified how apps.py works in 1.9 release
 notes.

 Backport of 6258e163352690faf20bfc92c12468316d1a47ae 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/067.7b2334d9fb9645c61ffe411fab120350%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-11-17 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by Tim Graham ):

 In [changeset:"6258e163352690faf20bfc92c12468316d1a47ae" 6258e163]:
 {{{
 #!CommitTicketReference repository=""
 revision="6258e163352690faf20bfc92c12468316d1a47ae"
 Refs #24971, #25356 -- Clarified how apps.py works in 1.9 release notes.
 }}}

--
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/067.c02de1358c22b0a50459eb78a15b30ed%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-11-17 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by jamesbeith):

 Yeah I think so. Especially if using `default_app_config` is discouraged,
 I wasn't aware of this.

--
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/067.9cb83d5466d4fa822eb611d61b2d55ea%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-11-17 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 That said, how about [https://github.com/django/django/pull/5675 a small
 enhancement] to the 1.9 release notes to clarify the expected behavior?

--
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/067.182fc0d1d9d70060bf849ee31f7f20b9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-11-17 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by timgraham):

 That's intentional, see #25356.

--
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/067.b7ddf8e6570d28f6ea1f31693b882714%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-11-17 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-

Comment (by jamesbeith):

 I just tested this with Django 1.9rc1 and the `default_app_config`
 statement was not added to the `__init__.py` file, the file was blank.

 I noticed this first in my own project but also in a blank test project.

 '''Steps'''

 - Created a new Python 3.4 virtualenv
 - Installed Django 1.9rc1 via pip
 - Ran `django-admin startproject mysite`
 - Ran `python manage.py startapp polls` from within the project

 '''Expected Behaviour'''

 - An `apps.py` file is created with appropriate content
 - An `__init__.py` file is created with appropriate `default_app_config`
 statement

 '''Actual Behaviour'''

 - An `apps.py` file is created with appropriate content
 - An `__init__.py` file is created but '''no''' `default_app_config`
 statement is included, the file is blank

--
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/067.7ebf93ae15d7226964fd331fbd18ef8e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-06-16 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  closed
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:  fixed
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham ):

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


Comment:

 In [changeset:"e6dd7f995a5a785a5aa12378df209314b1d77d93" e6dd7f99]:
 {{{
 #!CommitTicketReference repository=""
 revision="e6dd7f995a5a785a5aa12378df209314b1d77d93"
 Fixed #24971 -- Made startapp generate an apps.py
 }}}

--
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/067.d700b63262730b1945508a916b9dcaa2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-06-15 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  assigned
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * needs_better_patch:  1 => 0
 * stage:  Accepted => Ready for checkin


--
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/067.567cc09b2ea3786479c6fdee49b4c29d%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-06-13 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  assigned
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by timgraham):

 * needs_better_patch:  0 => 1
 * has_patch:  0 => 1


Comment:

 I reviewed the [https://github.com/django/django/pull/4856 PR].

--
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/067.22b254f2aa4f351b6efab2ad998a65f6%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #24971: Make startapp generate an apps.py

2015-06-13 Thread Django
#24971: Make startapp generate an apps.py
-+-
 Reporter:  timgraham|Owner:
 |  MounirMesselmeni
 Type:  New feature  |   Status:  assigned
Component:  Core (Management |  Version:  master
  commands)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by MounirMesselmeni):

 * owner:  nobody => MounirMesselmeni
 * status:  new => assigned


--
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/067.082a7560d21409a078643fe7caef4e98%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #24971: Make startapp generate an apps.py

2015-06-11 Thread Django
#24971: Make startapp generate an apps.py
-+-
   Reporter:  timgraham  |  Owner:  nobody
   Type:  New| Status:  new
  feature|
  Component:  Core   |Version:  master
  (Management commands)  |
   Severity:  Normal |   Keywords:
   Triage Stage:  Accepted   |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 I guess it might look like:
 {{{
 from django.apps import AppConfig

 class AppnameConfig(AppConfig):
 name = 'appname'
 }}}
 and in `__init__.py`: `default_app_config = 'appname.apps.AppnameConfig'`

--
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/052.9fad37ab3437372ed3f29264c3f082cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.