Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-11 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  closed
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:  worksforme
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by timgraham):

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


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


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-11 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Tim Graham ):

 In [changeset:"738bda8a6feea95d07b73246365e75b3d25e3466" 738bda8]:
 {{{
 #!CommitTicketReference repository=""
 revision="738bda8a6feea95d07b73246365e75b3d25e3466"
 Refs #25899 -- Improved visibility of TEST database settings in testing
 docs.
 }}}

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


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-11 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by Tim Graham ):

 In [changeset:"9f3ce6d987f2a78dc97f6147efac41071c2ec085" 9f3ce6d9]:
 {{{
 #!CommitTicketReference repository=""
 revision="9f3ce6d987f2a78dc97f6147efac41071c2ec085"
 [1.9.x] Refs #25899 -- Improved visibility of TEST database settings in
 testing docs.

 Backport of 738bda8a6feea95d07b73246365e75b3d25e3466 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/071.126dc3c632accea9b16486fe803bedb3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-11 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by JorisBenschop):

 Apologies, I should have read more thoroughly. I will use the pointers
 given. Thanks for the docs improvement also. I guess this ticket can be
 resolved-fixed-closed?

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


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-10 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 [https://github.com/django/django/pull/5812 Doc proposal] for the testings
 docs.

 Maybe a subsection under Oracle in `docs/ref/databases.txt` could also be
 added if we need more details about those Oracle specific settings?

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


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-09 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by shaib):

 There are `TEST` parameters for this -- Everything from
 [https://docs.djangoproject.com/en/1.8/ref/settings/#create-db CREATE_DB]
 onwards is essentially serving the need you raise here. Note that settings
 are much more appropriate than command arguments for this use-case.

 Can you offer a documentation change that will make these settings easier
 to find?

 (`NAME`, specifically, has a very different meaning on Oracle -- it
 selects the service to connect to, rather than a database on that service
 like it does for other backends.)

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


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-09 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--

Comment (by timgraham):

 A couple sentences after the one you quoted, "If you want to use a
 different database name, specify NAME in the TEST dictionary for any given
 database in DATABASES." Could you combine this with the `manage.py test
 --keepdb` option to get the desired result?

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


Re: [Django] #25899: manage.py tests requires database creation privileges

2015-12-09 Thread Django
#25899: manage.py tests requires database creation privileges
---+--
 Reporter:  JorisBenschop  |Owner:  nobody
 Type:  New feature|   Status:  new
Component:  Testing framework  |  Version:  1.9
 Severity:  Normal |   Resolution:
 Keywords: | Triage Stage:  Unreviewed
Has patch:  0  |  Needs documentation:  0
  Needs tests:  0  |  Patch needs improvement:  0
Easy pickings:  0  |UI/UX:  0
---+--
Changes (by JorisBenschop):

 * needs_better_patch:   => 0
 * component:  Uncategorized => Testing framework
 * 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/071.9713d0087100a2ac69bf5902ae904beb%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.


[Django] #25899: manage.py tests requires database creation privileges

2015-12-09 Thread Django
#25899: manage.py tests requires database creation privileges
---+
 Reporter:  JorisBenschop  |  Owner:  nobody
 Type:  New feature| Status:  new
Component:  Uncategorized  |Version:  1.9
 Severity:  Normal |   Keywords:
 Triage Stage:  Unreviewed |  Has patch:  0
Easy pickings:  0  |  UI/UX:  0
---+
 From
 {{{
 #https://docs.djangoproject.com/en/1.9/topics/testing/overview/#the-test-
 database
 By default the test databases get their names by prepending test_ to the
 value of the NAME settings for the databases defined in DATABASES.
 }}}

 I guess this works great on sqlite and my homegrown postgres machine, but
 I'm developing applications on Oracle RAC clusters, and I hope you can see
 this is not an environment I'd be allowed to create databases on. The
 database schemas are rather complex (using things like RAW(16) primary
 keys and reference-based partitioning) and I'm not allowing Django to make
 the tables itself.

 I have been unable to find a workaround in documentation (e.g. --use-this-
 database-instead-of-creating-one= and --assume-models-are-present ). If
 this exists, please change this ticket into a documentation request
 instead.

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