Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/core/management/commands/sqlsequencereset.py
Commit message (Collapse)AuthorAgeFilesLines
* Sorted imports with isort; refs #23860.Tim Graham2015-02-061-1/+1
|
* Fixed #24054 -- Enabled sqlsequencereset for apps with ↵Tim Graham2014-12-261-2/+0
| | | | migrations.
* Converted remaining management commands to argparseClaude Paroz2014-06-141-9/+6
|
* Fixed #22749: Making SQL management commands migration ↵Víðir Valberg Guðmundsson2014-06-081-0/+2
| | | | aware.
* Revert "Making SQL management commands migration aware."Florian Apolloner2014-06-011-2/+0
| | | | This reverts commit cb9c9a7b5879671053c7d2ad6e79943a8814b274.
* Making SQL management commands migration aware.Víðir Valberg Guðmundsson2014-05-291-0/+2
|
* Removed unused import.Aymeric Augustin2013-12-291-1/+0
|
* Added AppConfig.get_models().Aymeric Augustin2013-12-291-1/+1
|
* Migrated built-in AppCommands to use handle_app_config.Aymeric Augustin2013-12-281-2/+6
|
* Renamed AppCache to Apps.Aymeric Augustin2013-12-241-2/+2
| | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
* Moved apps back in the toplevel django namespace.Aymeric Augustin2013-12-221-1/+1
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Moved the new app cache inside core.Aymeric Augustin2013-12-171-1/+1
|
* Removed module-level functions for the app cache.Aymeric Augustin2013-12-171-2/+3
| | | | | | | | | | | | | | | Since the original ones in django.db.models.loading were kept only for backwards compatibility, there's no need to recreate them. However, many internals of Django still relied on them. They were also imported in django.db.models. They never appear in the documentation, except a quick mention of get_models and get_app in the 1.2 release notes to document an edge case in GIS. I don't think that makes them a public API. This commit doesn't change the overall amount of global state but clarifies that it's tied to the app_cache object instead of hiding it behind half a dozen functions.
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+1
|
* Fixed #18269 -- Applied unicode_literals for Python 3 ↵Claude Paroz2012-06-071-1/+3
| | | | | | | compatibility. Thanks Vinay Sajip for the support of his django3 branch and Jannis Leidel for the review.
* Fixed #13760 -- Cleaned up unnecessary default option ↵Julien Phalip2011-10-231-1/+1
| | | | | | handling in a bunch of management commands. Thanks to Paul McMillan for the report and to adamv and Claude Paroz for the patch. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17028 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #13248 -- Corrected the output of sqlsequencereset ↵Russell Keith-Magee2010-04-011-1/+1
| | | | | | after the m2m changes. Thanks to EroSennin for the report, and Gabriel Hurley for the fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@12903 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1142 -- Added multiple database support.Russell Keith-Magee2009-12-221-1/+12
| | | | | | | | | | | | | | | | | 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
* Fixed #6650 -- Added UTF-8 encoding to SQL output ↵Russell Keith-Magee2008-06-191-1/+1
| | | | | | provided by management commands. Thanks to farcaller for the suggestion. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7706 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Refactored get_sql_sequence_reset() to ↵Adrian Holovaty2007-08-201-2/+2
| | | | | | DatabaseOperations.sequence_reset_sql(). Refs #5106 git-svn-id: http://code.djangoproject.com/svn/django/trunk@5964 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Major refactoring of django.core.management -- it's now ↵Adrian Holovaty2007-08-161-0/+9
a package rather than a 1730-line single module. All django-admin/manage.py commands are now stored in separate modules. This is backwards-incompatible for people who used django.core.management functions directly git-svn-id: http://code.djangoproject.com/svn/django/trunk@5898 bcc190cf-cafb-0310-a4f2-bffc1f526a37