Simon Charette
390f888745
Fixed #22447 -- Make sure custom model bases can be migrated.
...
Thanks to cdestigter for the report.
2014-04-29 09:43:08 -04:00
Simon Charette
a2340ac6d6
Use the new implementation of `six.with_metaclass`.
...
No more `NewBase` horrors.
Thanks to bendavis78 for his work on merging this into six.
2014-04-29 09:43:08 -04:00
Ramiro Morales
2df7238512
Removed bogus, ineffective 'U' flag from codecs.open() call.
2014-04-29 07:46:54 -03:00
Aymeric Augustin
0fb7570c5c
Fixed #22523 -- Clarified pytz requirement.
...
Thanks z for the report and timo for the proposal.
2014-04-29 08:33:15 +02:00
Tim Graham
650065f0ef
Added stub release notes for 1.6.5.
2014-04-28 20:38:06 -04:00
Tim Graham
68d264059a
Added dates to release notes of today's release.
2014-04-28 19:06:25 -04:00
Tim Graham
aabceadd7d
Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b732
.
See the ticket for concerns with this implementation; it will be revisited.
2014-04-28 18:41:36 -04:00
Tim Graham
26b03f2526
Fixed #22254 -- Noted the requirement of calling django.setup() when running
...
Thanks Peter Landry for the report.
2014-04-28 12:43:33 -04:00
Simon Charette
d2e732cde3
Merge pull request #2613 from azalea/patch-2
...
Fix a typo in logging.txt
2014-04-28 11:21:04 -04:00
Zhaorong Ma
dd3f3e4e89
Fix a typo in logging.txt
2014-04-28 10:05:28 -04:00
Tim Graham
b829d53b37
Fixed #22497 -- Highlighted difference between field and class deconstruction.
...
Thanks nliberg for the suggestion.
2014-04-28 08:18:43 -04:00
Tim Graham
1ce759b69f
Fixed #22445 -- Added how to perform a reverse data migration to topic guide.
...
Thanks Karen Tracey for the report.
2014-04-27 15:19:54 -04:00
Tim Graham
ab8d8e00c9
Improved formatting and links of migration docs.
2014-04-27 15:05:41 -04:00
Tim Graham
8905fcbda6
Fixed #22526 -- Added note about check() method to 1.7 release notes.
...
Thanks kevin-brown for the report.
2014-04-27 14:17:37 -04:00
Aymeric Augustin
58ed387db3
Documented django.setup().
...
Thanks Eric Holscher and Tim Graham for the review.
2014-04-26 20:13:59 +02:00
Alex Gaynor
2bcb8bfc8d
Fix many many typos in comments throughout the codebase
2014-04-26 10:18:45 -07:00
Aymeric Augustin
8b5b199e20
Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
2014-04-26 17:46:23 +02:00
Claude Paroz
2128b3a688
Specified 'csv and unicode' note as Python 2 only
2014-04-26 16:09:19 +02:00
Claude Paroz
680a0f08b1
Updated doc links to point to Python 3 documentation
2014-04-26 16:02:53 +02:00
Florian Apolloner
6d6af7244b
Sycned .hginore with .gitignore.
2014-04-26 15:39:55 +02:00
Ana Krivokapic
0707b824fe
Fixed #22328 -- Added --exclude option to compilemessages and makemessages.
2014-04-26 17:07:44 +07:00
Claude Paroz
d1f93e9c1e
Fixed #22507 -- Clarified nature of the sender argument of signals
2014-04-25 23:15:47 +02:00
Aymeric Augustin
3033a7193a
Fixed #21166 -- Reset errors_occurred flag after commit and rollback.
2014-04-25 22:45:11 +02:00
Ben Davis
5c0333de2e
Fixed #22517 , "view prefix" still referenced in urlconf docs
2014-04-25 12:29:33 -05:00
Aymeric Augustin
0315f01087
Fixed a confusing heading in applications docs.
...
Refs #22422 .
2014-04-25 17:39:49 +02:00
Tim Graham
f65eb15ac6
Fixed #22504 -- Corrected domain terminology in security guide.
...
Thanks chris at chrullrich.net.
2014-04-25 10:27:13 -04:00
Víðir Valberg Guðmundsson
deb561bbe2
Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
2014-04-25 10:12:31 -04:00
Moayad Mardini
3776926cfe
Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
...
Thanks Erik Romijn for the suggestion.
2014-04-25 09:54:49 -04:00
Tim Graham
9e7f86b890
Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.
...
Thanks ross at servercode.co.uk for the report.
2014-04-25 08:20:25 -04:00
Aymeric Augustin
e368912902
Set some transaction-related feature flags on SQLite.
...
Refs #22496 .
2014-04-25 11:43:20 +02:00
Shai Berger
843613add4
Fixed #22498 -- constraint name was not quoted in FK creation SQL
2014-04-25 01:30:43 +03:00
Shai Berger
53d97e4fe3
Made sure cursor.close() does not complain if cursor is already closed on Oracle
...
Refs #22483
2014-04-25 00:36:40 +03:00
Aymeric Augustin
25209715d4
Prevented a crash in the cursor wrappers on Oracle.
...
Fixed #22483 (again).
Forwardport of 5cd6429620
from stable/1.7.x
2014-04-24 09:14:42 -04:00
Aymeric Augustin
b0f4eecfa7
Ignored repeated calls to connection.close().
...
Forwardport of 9bbb43dd1a
from stable/1.7.x
2014-04-24 09:14:26 -04:00
Tim Graham
d238c58912
Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.
2014-04-24 07:06:02 -04:00
Claude Paroz
7c24027bad
Renamed Transifex project from django-core to django
...
See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
2014-04-24 11:38:18 +02:00
Kevin Christopher Henry
91afc00513
Fixed #21157 -- Fixed problems with ResolverMatch
...
- Fixed bug in get_callable() that caused resolve() to put a string
in ResolverMatch.func.
- Made ResolverMatch.url_name match the actual url name (or None).
- Updated tests that used the string value in ResolverMatch.func, and
added regression tests for this bug.
- Corrected test urls whose dummy view paths caused failures (behavior
that was previously masked by this bug).
2014-04-23 20:12:34 -04:00
Aymeric Augustin
0aa4c6c391
Used the same instance of atomic for entry and exit.
...
Since all state is maintained on the connection at this time and none in
the atomic, it doesn't matter, but it could introduce some subtle bugs
if the implementation changed in the future.
2014-04-23 21:44:36 +02:00
Aymeric Augustin
e74d2183c2
Wrapped migrations in a transaction only on DBs with transactional DDL.
2014-04-23 21:44:36 +02:00
Claude Paroz
3a435a057c
Set compile messages options as class variable
...
Refs #18714 . Same logic as options for makemessages commands.
2014-04-23 15:15:03 +02:00
Malcolm Box
af5f688392
Fixed #22495 -- Locmem cache.add() failed with infinite timeouts
...
cache.add() incorrectly succeeded when there was an existing key
with an infinite (None) timeout.
2014-04-23 14:49:46 +02:00
Claude Paroz
2ffa6ca73a
Added Spatialite support to the new migration framework
...
Refs #22451 .
2014-04-23 13:46:11 +02:00
Claude Paroz
48c4ea4146
Used migration framework in GIS test tearDown
2014-04-23 13:45:41 +02:00
Preston Timmons
3c06b2f2a3
Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
...
Regression in 8b93b31487
.
Thanks rcoup for the report.
2014-04-23 07:27:52 -04:00
Alex Gaynor
c3152e5bcd
Merge pull request #2602 from intgr/typofix
...
Various documentation typo/spelling fixes
2014-04-22 16:42:44 -07:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Ray Ashman
9853779805
Updated grammar in description of django.contrib.auth.
2014-04-22 18:28:47 -04:00
Donald Stufft
03401701f3
Merge pull request #2600 from alex/builtin-constant-time-compare
...
Use the stdlib's compare_digest for constant time comparisons when available
2014-04-22 17:53:08 -04:00
Alex Gaynor
58176dee88
Use the stdlib's compare_digest for constant time comparisons when available
2014-04-22 14:45:00 -07:00
Tim Graham
9fb95dfc9f
Added 1.6.4 release note stub.
2014-04-22 11:44:03 -04:00