Re: [Django] #25569: Add a friendly error report when using select_related() on a reverse relation

2016-11-26 Thread Django
#25569: Add a friendly error report when using select_related() on a reverse
relation
-+-
 Reporter:  Shai Berger  |Owner:  Vincent
 |  Perez
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  1.8
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Tim Graham):

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


Comment:

 The "Needs review" status is "Accepted + Has patch", not "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/063.7bf6cf0dd94b95a3e16501d1d52ba908%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25569: Add a friendly error report when using select_related() on a reverse relation

2016-11-26 Thread Django
#25569: Add a friendly error report when using select_related() on a reverse
relation
-+-
 Reporter:  Shai Berger  |Owner:  Vincent
 |  Perez
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  1.8
  (models, ORM)  |
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Ready for
 |  checkin
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Vincent Perez):

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


Re: [Django] #25569: Add a friendly error report when using select_related() on a reverse relation

2016-11-26 Thread Django
#25569: Add a friendly error report when using select_related() on a reverse
relation
-+-
 Reporter:  Shai Berger  |Owner:  Vincent
 |  Perez
 Type:  New feature  |   Status:  assigned
Component:  Database layer   |  Version:  1.8
  (models, ORM)  |
 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
-+-

Comment (by Vincent Perez):

 I've opened a new simplied PR:
 https://github.com/django/django/pull/7622/files

 If there at least one relational fields amongst the fields given to
 select_related, the message becomes:

 FieldError: Invalid field name(s) given in select_related: 'choice_set'.
 Choices are: (none)". Reverse relations cannot be used in select_related'

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


Re: [Django] #27358: Add a system check for FileField upload_to starting with a slash

2016-11-26 Thread Django
#27358: Add a system check for FileField upload_to starting with a slash
-+-
 Reporter:  Tim Graham   |Owner:  Henry
 Type:   |  Dang
  Cleanup/optimization   |   Status:  assigned
Component:  Core (System |  Version:  1.10
  checks)|
 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
-+-

Comment (by François Freitag):

 Would it be interesting to check for known potentially dangerous filenames
 [#point1 (1)], such as {{{../index.html}}}?

 [=#point1 (1)]
 
https://www.owasp.org/index.php/Unrestricted_File_Upload#Other_Interesting_Test_Cases

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


Re: [Django] #27358: Add a system check for FileField upload_to starting with a slash

2016-11-26 Thread Django
#27358: Add a system check for FileField upload_to starting with a slash
-+-
 Reporter:  Tim Graham   |Owner:  Henry
 Type:   |  Dang
  Cleanup/optimization   |   Status:  assigned
Component:  Core (System |  Version:  1.10
  checks)|
 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 Henry Dang):

 * needs_better_patch:  1 => 0


Comment:

 [https://github.com/django/django/pull/7621 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.9760c6aca84eb3b5f98c2554679e1999%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #18717: Setting attributes on deferred objects should trigger field's descriptor's __set__()

2016-11-26 Thread Django
#18717: Setting attributes on deferred objects should trigger field's 
descriptor's
__set__()
-+-
 Reporter:  German M. Bravo  |Owner:  nobody
 Type:  Bug  |   Status:  closed
Component:  Database layer   |  Version:  1.4
  (models, ORM)  |
 Severity:  Normal   |   Resolution:  needsinfo
 Keywords:   | Triage Stage:  Accepted
Has patch:  0|  Needs documentation:  0
  Needs tests:  1|  Patch needs improvement:  1
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Claude Paroz):

 * status:  new => closed
 * resolution:   => needsinfo


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


Re: [Django] #25708: cannot annotate with geometry value

2016-11-26 Thread Django
#25708: cannot annotate with geometry value
-+-
 Reporter:  Sergey Fedoseev  |Owner:  Sergey
 |  Fedoseev
 Type:  Bug  |   Status:  assigned
Component:  GIS  |  Version:  1.8
 Severity:  Normal   |   Resolution:
 Keywords:   | Triage Stage:  Accepted
Has patch:  1|  Needs documentation:  0
  Needs tests:  0|  Patch needs improvement:  0
Easy pickings:  0|UI/UX:  0
-+-
Changes (by Claude Paroz):

 * needs_better_patch:  1 => 0


Comment:

 To unblock the unfortunate current situation, I'd suggest to go with
 Sergey's solution, as my suggested alternate approach is obviously not
 superior.

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


Re: [Django] #27540: Importerror: No module named dash

2016-11-26 Thread Django
#27540: Importerror: No module named dash
---+--
 Reporter:  Thiru Kumaran  |Owner:  nobody
 Type:  Uncategorized  |   Status:  closed
Component:  Uncategorized  |  Version:  1.10
 Severity:  Normal |   Resolution:  invalid
 Keywords:  importerror| Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by Tim Graham):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 It doesn't look like a bug in Django. Please see
 TicketClosingReasons/UseSupportChannels for ways to get help.

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


[Django] #27540: Importerror: No module named dash

2016-11-26 Thread Django
#27540: Importerror: No module named dash
-+-
   Reporter:  Thiru Kumaran  |  Owner:  nobody
   Type:  Uncategorized  | Status:  new
  Component:  Uncategorized  |Version:  1.10
   Severity:  Normal |   Keywords:  importerror
   Triage Stage:  Unreviewed |  Has patch:  0
Needs documentation:  0  |Needs tests:  0
Patch needs improvement:  0  |  Easy pickings:  0
  UI/UX:  0  |
-+-
 Strange, this happened after i upgraded to 1.10.3 on Ubuntu 16. The old
 0.9 worked fine for me.

 {{{
 ➜  Python projects and stuff django-admin startproject django_tutorial
 Traceback (most recent call last):
   File "/storage/programfiles/anaconda3/bin/django-admin", line 11, in
 
 sys.exit(execute_from_command_line())
   File "/storage/programfiles/anaconda3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 367, in
 execute_from_command_line
 utility.execute()
   File "/storage/programfiles/anaconda3/lib/python3.5/site-
 packages/django/core/management/__init__.py", line 316, in execute
 settings.INSTALLED_APPS
   File "/storage/programfiles/anaconda3/lib/python3.5/site-
 packages/django/conf/__init__.py", line 53, in __getattr__
 self._setup(name)
   File "/storage/programfiles/anaconda3/lib/python3.5/site-
 packages/django/conf/__init__.py", line 41, in _setup
 self._wrapped = Settings(settings_module)
   File "/storage/programfiles/anaconda3/lib/python3.5/site-
 packages/django/conf/__init__.py", line 97, in __init__
 mod = importlib.import_module(self.SETTINGS_MODULE)
   File
 "/storage/programfiles/anaconda3/lib/python3.5/importlib/__init__.py",
 line 126, in import_module
 return _bootstrap._gcd_import(name[level:], package, level)
   File "", line 986, in _gcd_import
   File "", line 969, in _find_and_load
   File "", line 944, in
 _find_and_load_unlocked
   File "", line 222, in
 _call_with_frames_removed
   File "", line 986, in _gcd_import
   File "", line 969, in _find_and_load
   File "", line 956, in
 _find_and_load_unlocked
 ImportError: No module named 'dash'
 }}}

 Can't find anything on google, anyone have any ideas? :)

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