Florian Apolloner
ed2828f0a0
Fixed a few flaky selenium tests.
...
Many thanks go to David Burns (@AutomatedTester) for helping me understand
css selectors and pointing me towards the correct selenium methods.
2014-01-03 00:36:50 +01:00
Aymeric Augustin
756a6accdb
Updated my bio.
2014-01-02 23:14:54 +01:00
Aymeric Augustin
449ede03b8
Changed convention for modules storing AppConfigs.
...
The app/apps dichotomy was more confusing than valuable.
2014-01-02 23:07:33 +01:00
Tim Graham
07711e9997
Fixed #21722 -- Added a warning for avoiding XSS vulnerabilities when reusing built-in filters.
...
Thanks Stephen McDonald for the suggestion.
2014-01-02 16:29:59 -05:00
Alex Gaynor
3c699c0a5d
Merge pull request #2138 from NathanRSmith/master
...
Fixed minor typos in GEOS API doc page.
2014-01-02 12:23:55 -08:00
Nathan Smith
44d40ba521
Fixed minor typos.
2014-01-02 15:14:11 -05:00
Claude Paroz
aaf5b3e7aa
Moved django.setup() to ManagementUtility
...
In get_commands, setup() might already have been called, for example
when the management command is called through call_command. Moving
setup() to ManagementUtility so as it is only called when the command
is run from command line.
2014-01-02 20:47:40 +01:00
Alex Gaynor
7f110e7959
Merge pull request #2137 from ftobia/patch-1
...
Fixed typos. Changed grammar.
2014-01-02 11:24:18 -08:00
Frank Tobia
6dd8631617
Fixed typos. Changed grammar.
...
Minor typos. Some grammar changes.
2014-01-02 14:22:52 -05:00
Marc Tamlyn
7a30eab06e
Fix typo in 0ce945a671
.
...
Thanks to Loic for the report.
2014-01-02 09:06:52 +00:00
Claude Paroz
b2d78939d1
Prevented calling setup() inside catch_warnings
...
When django.setup() (and then configure_logging) is called inside
catch_warnings, logging setup is negatively affected (notably
warnings.showwarning definition).
2014-01-01 22:59:12 +01:00
Aymeric Augustin
1386075f62
Updated release notes on app_label.
...
Django determines automatically which application models belong to,
provided the application can be imported without importing models.
2014-01-01 19:45:43 +01:00
Aymeric Augustin
30a42a4fc3
Adjusted previous commit for Python 3.
2014-01-01 19:12:46 +01:00
Alex Gaynor
791142e8b3
Several small whitespace fixes for styleguide/flake8 violations
2014-01-01 09:37:52 -08:00
Aymeric Augustin
0ce945a671
Fixed #21018 -- Reversed precedence order for management commands.
2014-01-01 18:11:15 +01:00
Aymeric Augustin
f17d00278e
Wiped get_commands() cache when INSTALLED_APPS changes.
...
Refs #21018 , #21688 .
2014-01-01 18:11:09 +01:00
Aymeric Augustin
8a2f304a79
Documented unicity rules in INSTALLED_APPS.
...
Refs #12288 , #21679 .
2014-01-01 16:51:58 +01:00
Preston Timmons
2139e09d83
Removed unused function in test_runner tests
...
This was used for python 2.6 and unittest2 compatibility. It was
forgotten when the code that used it was removed.
2014-01-01 12:41:43 +01:00
Preston Timmons
18d962f2e6
Fixed #21206 -- Fixed test discovery without labels
...
Added test to verify an empty label performs discovery on the current
working directory.
2014-01-01 12:40:16 +01:00
Claude Paroz
fbbe7ca30c
Readded field unadvertantly removed in fedfd5030
2014-01-01 12:07:43 +01:00
Aymeric Augustin
6edd5b0793
Fixed a few issues in previous commit.
2014-01-01 11:52:56 +01:00
Aymeric Augustin
fecfd50300
Properly assigned app_label to GIS test models.
...
Used abstract inheritance to cut down on code repetition.
2014-01-01 11:01:46 +01:00
Matt Robenolt
a502bbb2f0
Django sees more than 1mm hits per hour
...
Disqus regularly does 40-50k/s
2013-12-31 16:23:20 -08:00
Loic Bistuer
4befb3015c
Fixed #21581 -- Fixed a number of issues with collectstatic.
...
When STATIC_ROOT wasn't set, collectstatic --clear would delete
every files within the current directory and its descendants.
This patch makes the following changes:
Prevent collectstatic from running if STATIC_ROOT isn't set.
Fixed an issue that prevented collectstatic from displaying the
destination directory.
Changed the warning header to notify when the command is run
in dry-run mode.
2013-12-31 14:58:49 -05:00
Tim Graham
4d8d76e7a8
Fixed #21484 -- Documented that SQL logging does not include "framework level" queries.
2013-12-31 13:02:01 -05:00
Claude Paroz
b8e3373f45
Fixed #21714 -- Moved logging configuration to global setup()
...
Thanks Aymeric Augustin for the report and the review.
2013-12-31 18:35:00 +01:00
Aymeric Augustin
1d23d766ab
Renamed AppConfig.setup to ready.
...
Thanks Jannis and Marc for the feedback.
Fixed #21717 .
2013-12-31 18:04:54 +01:00
Aymeric Augustin
63137a8304
Enforced unicity of app labels.
...
Fixed #21679 .
2013-12-31 18:04:54 +01:00
Aymeric Augustin
c40209dcc0
Made it possible to change an application's label in its configuration.
...
Fixed #21683 .
2013-12-31 17:30:58 +01:00
Aymeric Augustin
5dfec4e23b
Checked unicity of app config names when populating the app registry.
...
This check will miss duplicates until the check for duplicate labels is
added.
Refs #21679 .
2013-12-31 17:29:04 +01:00
Aymeric Augustin
553500133c
Removed an obsolete unicity check.
...
It doesn't account for app configs.
Refs #21679 .
2013-12-31 17:29:04 +01:00
Claude Paroz
d0eeddd6fc
Fixed #21716 -- Only passed arguments supported by ogrinspect
...
Thanks Marco Badan for the report.
2013-12-31 16:26:44 +01:00
Aymeric Augustin
75220d3b5d
Small style cleanup.
2013-12-31 16:24:40 +01:00
Tim Graham
69f0249d7b
Fixed #19395 -- Added a simple example logging config.
...
Thanks ken.nelson at maclaren.com.
2013-12-31 10:20:44 -05:00
Aymeric Augustin
f46603f830
Fleshed out release notes for app loading.
...
Fixed #21715 .
2013-12-31 15:27:25 +01:00
Aymeric Augustin
80004c7cc0
Turned django.db.models.app_cache_ready back into a method.
...
Thanks Anssi for noticing this mistake in a refactoring.
2013-12-31 15:27:25 +01:00
Tim Graham
9953e98e6a
Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.
...
Thanks cjerdonek for the suggestion.
2013-12-31 08:14:09 -05:00
Aymeric Augustin
a95f74e707
Oops.
2013-12-31 13:16:51 +01:00
Claude Paroz
587b678d41
Made DeprecationDisplayTest more robust
2013-12-31 13:12:53 +01:00
Aymeric Augustin
6b172a6d6d
Called django.setup() explicitly in management commands.
...
This avoids duplicating code.
2013-12-31 13:11:05 +01:00
Claude Paroz
1fb873cd6b
Finished renaming syndication to syndication_tests
2013-12-31 11:56:41 +01:00
Thomas Schreiber
7b119c1c77
only attempt to create the postgis extension when it does not already exist
2013-12-31 11:34:03 +01:00
Claude Paroz
0b825adcf2
Renamed syndication tests
...
To resolve the conflict between application names.
2013-12-31 11:25:02 +01:00
Aymeric Augustin
a5e2a0e569
Added release notes for today's app-loading improvements.
2013-12-31 00:10:49 +01:00
Aymeric Augustin
bfcc686d22
Removed the only_with_models_module argument of get_model[s].
...
Now that the refactorings are complete, it isn't particularly useful any
more, nor very well named. Let's keep the API as simple as possible.
Fixed #21689 .
2013-12-30 23:59:34 +01:00
Tim Graham
ec020cab7e
Fixed a broken link in docs/intro/tutorial01.txt.
2013-12-30 17:59:18 -05:00
Florian Apolloner
df075c7489
Merge pull request #2126 from apollo13/email_bytes
...
Many thanks to @bitdancer and @aaugustin for answering my stupid questions about (mail)encodings and pointing me in the right direction.
2013-12-30 14:58:49 -08:00
Tim Graham
270f7e2167
Fixed #21708 -- Added some headings to separate unrelated topics.
...
Thanks ashley at ashleymills.com for the suggestion.
2013-12-30 17:55:12 -05:00
Florian Apolloner
bfe9052831
Decode mails using the message encoding.
2013-12-30 23:54:12 +01:00
Florian Apolloner
c988745cca
Changed console and filebackend to use msg.as_bytes to output the data as it would get send via smtp.
2013-12-30 23:46:05 +01:00