summaryrefslogtreecommitdiff
path: root/tests/regressiontests/admin_scripts
AgeCommit message (Collapse)Author
2012-03-21Fixed #17920 -- Actually pass the full path of a newly created project or ↵Jannis Leidel
app in the template context as mentioned in the startproject docs. Many thanks to Preston Holmes for the initial patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17773 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-03-02Fixed test cases that generate their own settings file.Paul McMillan
Now they include SECRET_KEY. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-07Fixed #11745 -- Grouped commands by application in the output of `manage.py ↵Aymeric Augustin
help`. Made 'version' consistent with 'help' while I was in the area, and added tests. Thanks Jannis for the feedback and review. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-02-04Fixed #17517 -- Added `--name` option to startproject and startapp ↵Jannis Leidel
management commands to be able to render files without a file extension. Thanks, Florian Apolloner. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17432 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-15Fixed #17468 -- Made sure the project/app template management command tests ↵Jannis Leidel
correctly handle an existing directory on Windows. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-08Implemented PEP386-compatible version numbers. Thanks Jannis for the guidance.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17357 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-04Fixed #17503 -- A destination directory passed to startproject or startapp ↵Carl Meyer
as optional second argument is now reused as the project/app directory, rather than a new project/app directory created within it. Refs #17042. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17340 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-01-01Made sure startproject can handle template URLs with trailing slashes.Ramiro Morales
Thanks Issac Kelly that reported this via IRC. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17320 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Moved validation of project names to an earlier spot so no directory with ↵Ramiro Morales
invalid name is created. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17288 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-29Made sure the new project template functionality works when the templateRamiro Morales
path specified has a trailing path separator. Thanks Alex for the report. Fixes #17475. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17287 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Moved calls to addCleanup before assertions in admin_scripts tests, so that ↵Aymeric Augustin
cleanup occurs even when tests fails. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17281 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-27Removed Python 2.3 compatibility code from the admin_scripts tests.Aymeric Augustin
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17279 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #17042 -- Extended startproject and startapp management commands to ↵Jannis Leidel
better handle custom app and project templates. Many thanks to Preston Holmes for his initial patch and Alex Gaynor, Carl Meyer, Donald Stufft, Jacob Kaplan-Moss and Julien Phalip for code reviewing. * Added ability to pass the project or app directory path as the second argument * Added ``--template`` option for specifying custom project and app templates * Cleaned up admin_scripts tests a little while I was there git-svn-id: http://code.djangoproject.com/svn/django/trunk@17246 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-22Fixed #2879 -- Added support for the integration with Selenium and other ↵Julien Phalip
in-browser testing frameworks. Also added the first Selenium tests for `contrib.admin`. Many thanks to everyone for their contributions and feedback: Mikeal Rogers, Dirk Datzert, mir, Simon G., Almad, Russell Keith-Magee, Denis Golomazov, devin, robertrv, andrewbadr, Idan Gazit, voidspace, Tom Christie, hjwp2, Adam Nelson, Jannis Leidel, Anssi Kääriäinen, Preston Holmes, Bruno Renié and Jacob Kaplan-Moss. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17241 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-09Fixed copy & paste mistake made in r17183.Jannis Leidel
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-12-09Fixed #16683 -- Skip the IPv6 runserver tests if the platform doesn't ↵Jannis Leidel
support it. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-17Tweaked admin_scripts tests enhanced in r16964 a bit more so they don't fail ↵Ramiro Morales
with Oracle. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16999 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-16Fixed a test that depended on how identifiers are quoted by the database ↵Aymeric Augustin
backend and broke under MySQL. Refs #17055. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16994 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Convert much of the regression tests to use absolute imports. There's still ↵Alex Gaynor
work to be done though. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16976 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-10-13Fixed #15372 -- Switched to a startproject default layout that allows us to ↵Carl Meyer
avoid sys.path hacks. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-06-09Fixed #16155 -- Removed Python 2.4 compatibility constructs from code and ↵Ramiro Morales
mentions from docs. Thanks Aymeric Augustin for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16349 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-23Workaround particularities of Python under Windows that interfere with ↵Ramiro Morales
expected outputs in `admin_scripts` regression tests. Thye were causing most of them to fail in such platform. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16273 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-05-13Fixed #15064 -- Made manage.py honor the existence and value of ↵Ramiro Morales
DJANGO_SETTINGS_MODULE env var. Thanks olau for the report and Shawn Milochik for a patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-20Fixed #15866, #15850 -- Prevented get_model() and get_models() from ↵Carl Meyer
returning not-installed models (by default). Thanks adsva for report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@16053 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-04-02Updates to the test suite to allow for newly deprecated and removed featuresRussell Keith-Magee
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15990 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-26Fixed #9158 -- Changed django-admin.py help to be printed to stdout instead ↵Adrian Holovaty
of stderr, so that it's more easily greppable. Thanks, petr.marhoun@gmail.com git-svn-id: http://code.djangoproject.com/svn/django/trunk@15921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-03-03Updated test assertions that have been deprecated by the move to unittest2. ↵Russell Keith-Magee
In summary, this means: assert_ -> assertTrue assertEquals -> assertEqual failUnless -> assertTrue For full details, see http://www.voidspace.org.uk/python/articles/unittest2.shtml#deprecations git-svn-id: http://code.djangoproject.com/svn/django/trunk@15728 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-21Fixed #15359 -- Ensure that the -h option is always honored by ↵Russell Keith-Magee
django-admin.py. Thanks to teubank for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-02-13Fixed #14130 -- Made manage.py error reporting more useful when the ↵Ramiro Morales
settings.py file triggers import errors (in new projects). Thanks Setok for the report, mk and steph for their work. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-27Fixed #15112 -- Ensure that IPv6 addresses are correctly displayed in the ↵Russell Keith-Magee
admin. Thanks to oxy for the report, and Łukasz Rekucki for the test case. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15343 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2011-01-15Fixed #14928 -- Ensure that a fully qualified domain name can be used for ↵Russell Keith-Magee
runserver. Thanks to Karmel Allison for the report, Łukasz Rekucki for the patch, and claudep for the tests. git-svn-id: http://code.djangoproject.com/svn/django/trunk@15215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-08Ensure that a Popen object is closed promptly during the tests.Alex Gaynor
git-svn-id: http://code.djangoproject.com/svn/django/trunk@14853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-12-04Removed all usages of deprecated TestCase methods (self.fail*). This ↵Alex Gaynor
removed most of the Warnings emitted (with -Wall) during the test suite. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-10-11Fixed #12991 -- Added unittest2 support. Thanks to PaulM for the draft ↵Russell Keith-Magee
patch, and to Luke, Karen, Justin, Alex, Łukasz Rekucki, and Chuck Harmston for their help testing and reviewing the final patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@14139 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-08-21Fixed #14148 -- Ensure the admin_script tests always use an absolute path; ↵Russell Keith-Magee
PyPy (and sometimes CPython) return relative paths for __file__. Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-05-04Fixed #12164 -- Removed the Python 2.3 compatibility imports and ↵Russell Keith-Magee
workarounds. Thanks to timo and claudep for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20Fixed #13366 -- Corrected the field __setstate__ method to avoid a race ↵Russell Keith-Magee
condition when initially importing models. Thanks to Brett Hoerner for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13005 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-20Fixed #13382 -- Modified a message used for testing purposes to allow test ↵Russell Keith-Magee
passes under PyPy. Thanks to Alex Gaynor for the report and patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@13003 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed Python 2.4 incompatibility introduced in r12972.Karen Tracey
git-svn-id: http://code.djangoproject.com/svn/django/trunk@12974 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-14Fixed #13335: Adjusted the r12950 fix to properly handle import errors ↵Karen Tracey
resulting from nested calls to load_app. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12972 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-04-12Fixed #11696: Changed app loading code so that it does not swallow import ↵Karen Tracey
errors that used to be (prior to r10088) raised. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12950 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2010-03-23Fixed #13173: Made the admin_scripts tests pass when the running python ↵Karen Tracey
executable has a space in its pathname. Thanks gabrielhurley. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12842 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-12-22Fixed #1142 -- Added multiple database support.Russell Keith-Magee
This monster of a patch is the result of Alex Gaynor's 2009 Google Summer of Code project. Congratulations to Alex for a job well done. Big thanks also go to: * Justin Bronn for keeping GIS in line with the changes, * Karen Tracey and Jani Tiainen for their help testing Oracle support * Brett Hoerner, Jon Loyens, and Craig Kimmerer for their feedback. * Malcolm Treddinick for his guidance during the GSoC submission process. * Simon Willison for driving the original design process * Cal Henderson for complaining about ponies he wanted. ... and everyone else too numerous to mention that helped to bring this feature into fruition. git-svn-id: http://code.djangoproject.com/svn/django/trunk@11952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-29Fixed a few Python 2.3 incompatibilities that were causing test failures.Gary Wilson Jr
git-svn-id: http://code.djangoproject.com/svn/django/trunk@10863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2009-05-12Fixed #9751: admin scripts now calculate the project directory correctly ↵Jacob Kaplan-Moss
when the settings module is a directory with an ``__init__.py``. Thanks to Eric Holscher. git-svn-id: http://code.djangoproject.com/svn/django/trunk@10751 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-10-04Fixed #9293: Corrected expected test output for the admin_scripts tests, ↵Russell Keith-Magee
following the changes to --verbosity in 9110. Thanks to Alex for the report. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-16Fixed #8268: Modified admin scripts tests to use JYTHONPATH when ↵Russell Keith-Magee
appropriate. Thanks to leosoto for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-11Fixed #8235: use subprocess instead of popen3 so that Python 2.6 is happy. ↵Jacob Kaplan-Moss
Thanks, Karen Tracey. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-10Fixed #5943 -- Modified django-admin to behave like manage.py if settings ↵Russell Keith-Magee
are provided, either as --settings or DJANGO_SETTINGS_MODULE. Thanks to Joseph Kocherhans and Todd O'Bryan for their work on this ticket. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8282 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2008-08-08Fixed #8047: property detect an external database backend and set sys.path ↵Jacob Kaplan-Moss
accordingly. Patch from Leo Soto. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8238 bcc190cf-cafb-0310-a4f2-bffc1f526a37