Changeset 2549
- Timestamp:
- 03/22/06 16:35:14 (3 years ago)
- Files:
-
- django/branches/magic-removal/AUTHORS (modified) (3 diffs)
- django/branches/magic-removal/django/conf/global_settings.py (modified) (3 diffs)
- django/branches/magic-removal/django/conf/locale/de/LC_MESSAGES/django.mo (modified) (previous)
- django/branches/magic-removal/django/conf/locale/de/LC_MESSAGES/django.po (modified) (24 diffs)
- django/branches/magic-removal/django/conf/locale/el (copied) (copied from django/trunk/django/conf/locale/el)
- django/branches/magic-removal/django/conf/locale/el/LC_MESSAGES (copied) (copied from django/trunk/django/conf/locale/el/LC_MESSAGES)
- django/branches/magic-removal/django/conf/locale/el/LC_MESSAGES/django.po (copied) (copied from django/trunk/django/conf/locale/el/LC_MESSAGES/django.po)
- django/branches/magic-removal/django/conf/locale/sl (copied) (copied from django/trunk/django/conf/locale/sl)
- django/branches/magic-removal/django/conf/locale/sl/LC_MESSAGES (copied) (copied from django/trunk/django/conf/locale/sl/LC_MESSAGES)
- django/branches/magic-removal/django/conf/locale/sl/LC_MESSAGES/django.mo (copied) (copied from django/trunk/django/conf/locale/sl/LC_MESSAGES/django.mo)
- django/branches/magic-removal/django/conf/locale/sl/LC_MESSAGES/django.po (copied) (copied from django/trunk/django/conf/locale/sl/LC_MESSAGES/django.po)
- django/branches/magic-removal/django/core/mail.py (modified) (3 diffs)
- django/branches/magic-removal/docs/email.txt (modified) (4 diffs)
- django/branches/magic-removal/docs/generic_views.txt (modified) (2 diffs)
- django/branches/magic-removal/docs/settings.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
django/branches/magic-removal/AUTHORS
r2524 r2549 57 57 Baishampayan Ghose 58 58 Espen Grindhaug <http://grindhaug.org/> 59 Gustavo Picon60 59 Brant Harris 61 60 hipertracker@gmail.com … … 69 68 Garth Kidd <http://www.deadlybloodyserious.com/> 70 69 Sune Kirkeby <http://ibofobi.dk/> 70 Bruce Kroeze <http://coderseye.com/> 71 71 lakin.wecker@gmail.com 72 72 Stuart Langridge <http://www.kryogenix.org/> … … 90 90 pgross@thoughtworks.com 91 91 phaedo <http://phaedo.cx/> 92 Gustavo Picon 92 93 Luke Plant <http://lukeplant.me.uk/> 93 94 plisk django/branches/magic-removal/django/conf/global_settings.py
r2490 r2549 40 40 ('da', _('Danish')), 41 41 ('de', _('German')), 42 ('el', _('Greek')), 42 43 ('en', _('English')), 43 44 ('es', _('Spanish')), … … 53 54 ('ru', _('Russian')), 54 55 ('sk', _('Slovak')), 56 ('sl', _('Slovenian')), 55 57 ('sr', _('Serbian')), 56 58 ('sv', _('Swedish')), … … 85 87 # Host for sending e-mail. 86 88 EMAIL_HOST = 'localhost' 89 90 # Optional SMTP authentication information for EMAIL_HOST. 91 EMAIL_HOST_USER = '' 92 EMAIL_HOST_PASSWORD = '' 87 93 88 94 # List of strings representing installed apps. django/branches/magic-removal/django/conf/locale/de/LC_MESSAGES/django.po
r2273 r2549 8 8 "Project-Id-Version: Django 1.0\n" 9 9 "Report-Msgid-Bugs-To: \n" 10 "POT-Creation-Date: 2006-0 2-02 11:26+0100\n"10 "POT-Creation-Date: 2006-03-20 11:44+0100\n" 11 11 "PO-Revision-Date: 2005-10-08 00:03+0200\n" 12 12 "Last-Translator: Georg Bauer <gb@bofh.ms>\n" … … 75 75 msgstr "ist �ntlich" 76 76 77 #: contrib/comments/models/comments.py:26 contrib/admin/views/doc.py:25 677 #: contrib/comments/models/comments.py:26 contrib/admin/views/doc.py:257 78 78 msgid "IP address" 79 79 msgstr "IP-Adresse" … … 430 430 msgstr "Logeintr�" 431 431 432 #: contrib/admin/templatetags/admin_list.py:24 1432 #: contrib/admin/templatetags/admin_list.py:240 433 433 msgid "All dates" 434 434 msgstr "Alle Tage" … … 571 571 msgstr "�derungsgeschichte: %s" 572 572 573 #: contrib/admin/views/doc.py:24 4 contrib/admin/views/doc.py:253574 #: contrib/admin/views/doc.py:25 5 contrib/admin/views/doc.py:261575 #: contrib/admin/views/doc.py:26 2 contrib/admin/views/doc.py:264573 #: contrib/admin/views/doc.py:245 contrib/admin/views/doc.py:254 574 #: contrib/admin/views/doc.py:256 contrib/admin/views/doc.py:262 575 #: contrib/admin/views/doc.py:263 contrib/admin/views/doc.py:265 576 576 msgid "Integer" 577 577 msgstr "Ganzzahl" 578 578 579 #: contrib/admin/views/doc.py:24 5579 #: contrib/admin/views/doc.py:246 580 580 msgid "Boolean (Either True or False)" 581 581 msgstr "Wahrheitswert (Wahr oder Falsch)" 582 582 583 #: contrib/admin/views/doc.py:24 6583 #: contrib/admin/views/doc.py:247 contrib/admin/views/doc.py:264 584 584 #, python-format 585 585 msgid "String (up to %(maxlength)s)" 586 586 msgstr "Zeichenkette (bis zu %(maxlength)s Zeichen)" 587 587 588 #: contrib/admin/views/doc.py:24 7588 #: contrib/admin/views/doc.py:248 589 589 msgid "Comma-separated integers" 590 590 msgstr "Kommaseparierte Liste von Zahlen" 591 591 592 #: contrib/admin/views/doc.py:24 8592 #: contrib/admin/views/doc.py:249 593 593 msgid "Date (without time)" 594 594 msgstr "Datum (ohne Zeit)" 595 595 596 #: contrib/admin/views/doc.py:2 49596 #: contrib/admin/views/doc.py:250 597 597 msgid "Date (with time)" 598 598 msgstr "Datum (mit Zeit)" 599 599 600 #: contrib/admin/views/doc.py:25 0600 #: contrib/admin/views/doc.py:251 601 601 msgid "E-mail address" 602 602 msgstr "E-mail-Adresse" 603 603 604 #: contrib/admin/views/doc.py:25 1 contrib/admin/views/doc.py:254604 #: contrib/admin/views/doc.py:252 contrib/admin/views/doc.py:255 605 605 msgid "File path" 606 606 msgstr "Dateipfad" 607 607 608 #: contrib/admin/views/doc.py:25 2608 #: contrib/admin/views/doc.py:253 609 609 msgid "Decimal number" 610 610 msgstr "Dezimalzahl" 611 611 612 #: contrib/admin/views/doc.py:25 8612 #: contrib/admin/views/doc.py:259 613 613 msgid "Boolean (Either True, False or None)" 614 614 msgstr "Wahrheitswert (Wahr, Falsch oder Nichts)" 615 615 616 #: contrib/admin/views/doc.py:2 59616 #: contrib/admin/views/doc.py:260 617 617 msgid "Relation to parent model" 618 618 msgstr "Beziehung zum �ermodell" 619 619 620 #: contrib/admin/views/doc.py:26 0620 #: contrib/admin/views/doc.py:261 621 621 msgid "Phone number" 622 622 msgstr "Telefonnummer" 623 623 624 #: contrib/admin/views/doc.py:263 625 msgid "String (up to 50)" 626 msgstr "Zeichenkette (bis zu 50 Zeichen)" 627 628 #: contrib/admin/views/doc.py:265 624 #: contrib/admin/views/doc.py:266 629 625 msgid "Text" 630 626 msgstr "Text" 631 627 632 #: contrib/admin/views/doc.py:26 6628 #: contrib/admin/views/doc.py:267 633 629 msgid "Time" 634 630 msgstr "Zeit" 635 631 636 #: contrib/admin/views/doc.py:26 7contrib/flatpages/models/flatpages.py:6632 #: contrib/admin/views/doc.py:268 contrib/flatpages/models/flatpages.py:6 637 633 msgid "URL" 638 634 msgstr "URL" 639 635 640 #: contrib/admin/views/doc.py:26 8636 #: contrib/admin/views/doc.py:269 641 637 msgid "U.S. state (two uppercase letters)" 642 638 msgstr "U.S. Bundesstaat (zwei Grossbuchstaben)" 643 639 644 #: contrib/admin/views/doc.py:2 69640 #: contrib/admin/views/doc.py:270 645 641 msgid "XML text" 646 642 msgstr "XML Text" … … 1469 1465 1470 1466 #: conf/global_settings.py:42 1467 msgid "Greek" 1468 msgstr "Griechisch" 1469 1470 #: conf/global_settings.py:43 1471 1471 msgid "English" 1472 1472 msgstr "Englisch" 1473 1473 1474 #: conf/global_settings.py:4 31474 #: conf/global_settings.py:44 1475 1475 msgid "Spanish" 1476 1476 msgstr "Spanisch" 1477 1477 1478 #: conf/global_settings.py:4 41478 #: conf/global_settings.py:45 1479 1479 msgid "French" 1480 1480 msgstr "Franz�ch" 1481 1481 1482 #: conf/global_settings.py:4 51482 #: conf/global_settings.py:46 1483 1483 msgid "Galician" 1484 1484 msgstr "Galicisch" 1485 1485 1486 #: conf/global_settings.py:4 61486 #: conf/global_settings.py:47 1487 1487 msgid "Icelandic" 1488 1488 msgstr "Isl�isch" 1489 1489 1490 #: conf/global_settings.py:4 71490 #: conf/global_settings.py:48 1491 1491 msgid "Italian" 1492 1492 msgstr "Italienisch" 1493 1493 1494 #: conf/global_settings.py:4 81494 #: conf/global_settings.py:49 1495 1495 msgid "Japanese" 1496 1496 msgstr "Japanisch" 1497 1497 1498 #: conf/global_settings.py: 491498 #: conf/global_settings.py:50 1499 1499 msgid "Dutch" 1500 1500 msgstr "Holl�isch" 1501 1501 1502 #: conf/global_settings.py:5 01502 #: conf/global_settings.py:51 1503 1503 msgid "Norwegian" 1504 1504 msgstr "Norwegisch" 1505 1505 1506 #: conf/global_settings.py:5 11506 #: conf/global_settings.py:52 1507 1507 msgid "Brazilian" 1508 1508 msgstr "Brasilianisch" 1509 1509 1510 #: conf/global_settings.py:5 21510 #: conf/global_settings.py:53 1511 1511 msgid "Romanian" 1512 1512 msgstr "Rum�sch" 1513 1513 1514 #: conf/global_settings.py:5 31514 #: conf/global_settings.py:54 1515 1515 msgid "Russian" 1516 1516 msgstr "Russisch" 1517 1517 1518 #: conf/global_settings.py:5 41518 #: conf/global_settings.py:55 1519 1519 msgid "Slovak" 1520 1520 msgstr "Slowakisch" 1521 1521 1522 #: conf/global_settings.py:55 1522 #: conf/global_settings.py:56 1523 msgid "Slovenian" 1524 msgstr "Slowenisch" 1525 1526 #: conf/global_settings.py:57 1523 1527 msgid "Serbian" 1524 1528 msgstr "Serbisch" 1525 1529 1526 #: conf/global_settings.py:5 61530 #: conf/global_settings.py:58 1527 1531 msgid "Swedish" 1528 1532 msgstr "Schwedisch" 1529 1533 1530 #: conf/global_settings.py:5 71534 #: conf/global_settings.py:59 1531 1535 msgid "Simplified Chinese" 1532 1536 msgstr "Vereinfachtes Chinesisch" 1533 1537 1534 #: conf/global_settings.py: 581538 #: conf/global_settings.py:60 1535 1539 msgid "Traditional Chinese" 1536 1540 msgstr "Traditionelles Chinesisch" 1537 1541 1538 #: core/formfields.py:59 core/meta/fields.py:28 5 core/meta/fields.py:4881539 #: core/meta/fields.py:49 91542 #: core/formfields.py:59 core/meta/fields.py:283 core/meta/fields.py:486 1543 #: core/meta/fields.py:497 1540 1544 msgid "This field is required." 1541 1545 msgstr "Dieses Feld ist zwingend." … … 1574 1578 msgstr "Bitte eine ganze Zahl zwischen 0 und 32.767 eingeben." 1575 1579 1576 #: core/validators.py:6 21580 #: core/validators.py:61 1577 1581 msgid "This value must contain only letters, numbers and underscores." 1578 1582 msgstr "Dieser Wert darf nur Buchstaben, Ziffern und Unterstriche enthalten." 1579 1583 1580 #: core/validators.py:66 1581 msgid "This value must contain only letters, numbers, underscores and slashes." 1584 #: core/validators.py:65 1585 msgid "" 1586 "This value must contain only letters, numbers, underscores, dashes or " 1587 "slashes." 1582 1588 msgstr "" 1583 1589 "Dieser Wert darf nur Buchstaben, Ziffern, Unterstriche und Schr�triche " 1584 1590 "enthalten." 1585 1591 1586 #: core/validators.py:7 41592 #: core/validators.py:73 1587 1593 msgid "Uppercase letters are not allowed here." 1588 1594 msgstr "Gro�uchstaben sind hier nicht erlaubt." 1589 1595 1590 #: core/validators.py:7 81596 #: core/validators.py:77 1591 1597 msgid "Lowercase letters are not allowed here." 1592 1598 msgstr "Kleinbuchstaben sind hier nicht erlaubt." 1593 1599 1594 #: core/validators.py:8 51600 #: core/validators.py:84 1595 1601 msgid "Enter only digits separated by commas." 1596 1602 msgstr "Hier sind nur durch Komma getrennte Ziffern erlaubt." 1597 1603 1598 #: core/validators.py:9 71604 #: core/validators.py:96 1599 1605 msgid "Enter valid e-mail addresses separated by commas." 1600 1606 msgstr "Bitte mit Komma getrennte, g� eMail-Adressen eingeben." 1601 1607 1602 #: core/validators.py:10 11608 #: core/validators.py:100 1603 1609 msgid "Please enter a valid IP address." 1604 1610 msgstr "Bitte eine g� IP-Adresse eingeben." 1605 1611 1606 #: core/validators.py:10 51612 #: core/validators.py:104 1607 1613 msgid "Empty values are not allowed here." 1608 1614 msgstr "Dieses Feld darf nicht leer sein." 1609 1615 1610 #: core/validators.py:10 91616 #: core/validators.py:108 1611 1617 msgid "Non-numeric characters aren't allowed here." 1612 1618 msgstr "Nichtnumerische Zeichen sind hier nicht erlaubt." 1613 1619 1614 #: core/validators.py:11 31620 #: core/validators.py:112 1615 1621 msgid "This value can't be comprised solely of digits." 1616 1622 msgstr "Dieser Wert darf nicht nur aus Ziffern bestehen." 1617 1623 1618 #: core/validators.py:11 81624 #: core/validators.py:117 1619 1625 msgid "Enter a whole number." 1620 1626 msgstr "Bitte eine ganze Zahl eingeben." 1621 1627 1622 #: core/validators.py:12 21628 #: core/validators.py:121 1623 1629 msgid "Only alphabetical characters are allowed here." 1624 1630 msgstr "Nur alphabetische Zeichen sind hier erlaubt." 1625 1631 1626 #: core/validators.py:12 61632 #: core/validators.py:125 1627 1633 msgid "Enter a valid date in YYYY-MM-DD format." 1628 1634 msgstr "Bitte ein g�s Datum im Format JJJJ-MM-TT eingeben." 1629 1635 1630 #: core/validators.py:1 301636 #: core/validators.py:129 1631 1637 msgid "Enter a valid time in HH:MM format." 1632 1638 msgstr "Bitte eine g� Zeit im Format SS:MM eingeben." 1633 1639 1634 #: core/validators.py:13 41640 #: core/validators.py:133 1635 1641 msgid "Enter a valid date/time in YYYY-MM-DD HH:MM format." 1636 1642 msgstr "" … … 1638 1644 "eingeben." 1639 1645 1640 #: core/validators.py:13 81646 #: core/validators.py:137 1641 1647 msgid "Enter a valid e-mail address." 1642 1648 msgstr "Bitte eine g� eMail-Adresse eingeben" 1643 1649 1644 #: core/validators.py:1 501650 #: core/validators.py:149 1645 1651 msgid "" 1646 1652 "Upload a valid image. The file you uploaded was either not an image or a " … … 1650 1656 "oder ist defekt." 1651 1657 1652 #: core/validators.py:15 71658 #: core/validators.py:156 1653 1659 #, python-format 1654 1660 msgid "The URL %s does not point to a valid image." 1655 1661 msgstr "Die URL %s zeigt nicht auf ein g�s Bild." 1656 1662 1657 #: core/validators.py:16 11663 #: core/validators.py:160 1658 1664 #, python-format 1659 1665 msgid "Phone numbers must be in XXX-XXX-XXXX format. \"%s\" is invalid." … … 1661 1667 "Telefonnummern m�im Format XXX-XXX-XXXX sein. \"%s\" ist ung�" 1662 1668 1663 #: core/validators.py:16 91669 #: core/validators.py:168 1664 1670 #, python-format 1665 1671 msgid "The URL %s does not point to a valid QuickTime video." 1666 1672 msgstr "Die URL %s zeigt nicht auf ein g�s QuickTime video." 1667 1673 1668 #: core/validators.py:17 31674 #: core/validators.py:172 1669 1675 msgid "A valid URL is required." 1670 1676 msgstr "Eine g� URL ist hier verlangt." 1671 1677 1672 #: core/validators.py:18 71678 #: core/validators.py:186 1673 1679 #, python-format 1674 1680 msgid "" … … 1679 1685 "%s" 1680 1686 1681 #: core/validators.py:19 41687 #: core/validators.py:193 1682 1688 #, python-format 1683 1689 msgid "Badly formed XML: %s" 1684 1690 msgstr "Ung�s XML: %s" 1685 1691 1686 #: core/validators.py:20 41692 #: core/validators.py:203 1687 1693 #, python-format 1688 1694 msgid "Invalid URL: %s" 1689 1695 msgstr "Ung� URL: %s" 1690 1696 1691 #: core/validators.py:20 8 core/validators.py:2101697 #: core/validators.py:207 core/validators.py:209 1692 1698 #, python-format 1693 1699 msgid "The URL %s is a broken link." 1694 1700 msgstr "Die URL %s funktioniert nicht." 1695 1701 1696 #: core/validators.py:21 61702 #: core/validators.py:215 1697 1703 msgid "Enter a valid U.S. state abbreviation." 1698 1704 msgstr "Bitte eine g� Abk� f�en US-Staat eingeben." 1699 1705 1700 #: core/validators.py:23 11706 #: core/validators.py:230 1701 1707 #, python-format 1702 1708 msgid "Watch your mouth! The word %s is not allowed here." … … 1705 1711 msgstr[1] "Keine Schimpfworte! Die W�r %s sind hier nicht gern gesehen!" 1706 1712 1707 #: core/validators.py:23 81713 #: core/validators.py:237 1708 1714 #, python-format 1709 1715 msgid "This field must match the '%s' field." 1710 1716 msgstr "Dieses Feld muss zum Feld '%s' passen." 1711 1717 1712 #: core/validators.py:25 71718 #: core/validators.py:256 1713 1719 msgid "Please enter something for at least one field." 1714 1720 msgstr "Bitte mindestens eines der Felder ausf�" 1715 1721 1716 #: core/validators.py:26 6 core/validators.py:2771722 #: core/validators.py:265 core/validators.py:276 1717 1723 msgid "Please enter both fields or leave them both empty." 1718 1724 msgstr "Bitte entweder beide Felder ausf� oder beide leer lassen." 1719 1725 1720 #: core/validators.py:28 41726 #: core/validators.py:283 1721 1727 #, python-format 1722 1728 msgid "This field must be given if %(field)s is %(value)s" … … 1724 1730 "Dieses Feld muss gef�ein, wenn Feld %(field)s den Wert %(value)s hat." 1725 1731 1726 #: core/validators.py:29 61732 #: core/validators.py:295 1727 1733 #, python-format 1728 1734 msgid "This field must be given if %(field)s is not %(value)s" … … 1730 1736 "Dieses Feld muss gef�ein, wenn Feld %(field)s nicht %(value)s ist." 1731 1737 1732 #: core/validators.py:31 51738 #: core/validators.py:314 1733 1739 msgid "Duplicate values are not allowed." 1734 1740 msgstr "Doppelte Werte sind hier nicht erlaubt." 1735 1741 1736 #: core/validators.py:33 81742 #: core/validators.py:337 1737 1743 #, python-format 1738 1744 msgid "This value must be a power of %s." 1739 1745 msgstr "Dieser Wert muss eine Potenz von %s sein." 1740 1746 1741 #: core/validators.py:34 91747 #: core/validators.py:348 1742 1748 msgid "Please enter a valid decimal number." 1743 1749 msgstr "Bitte eine g� Dezimalzahl eingeben." 1744 1750 1745 #: core/validators.py:35 11751 #: core/validators.py:350 1746 1752 #, python-format 1747 1753 msgid "Please enter a valid decimal number with at most %s total digit." … … 1751 1757 msgstr[1] "Bitte eine g� Dezimalzahl mit maximal %s Ziffern eingeben." 1752 1758 1753 #: core/validators.py:35 41759 #: core/validators.py:353 1754 1760 #, python-format 1755 1761 msgid "Please enter a valid decimal number with at most %s decimal place." … … 1761 1767 "Bitte eine g� Dezimalzahl mit maximal %s Dezimalstellen eingeben." 1762 1768 1763 #: core/validators.py:36 41769 #: core/validators.py:363 1764 1770 #, python-format 1765 1771 msgid "Make sure your uploaded file is at least %s bytes big." … … 1768 1774 "ist." 1769 1775 1770 #: core/validators.py:36 51776 #: core/validators.py:364 1771 1777 #, python-format 1772 1778 msgid "Make sure your uploaded file is at most %s bytes big." … … 1774 1780 "Bitte sicherstellen, da�die hochgeladene Datei maximal %s Bytes gross ist." 1775 1781 1776 #: core/validators.py:37 81782 #: core/validators.py:377 1777 1783 msgid "The format for this field is wrong." 1778 1784 msgstr "Das Format f�ses Feld ist falsch." 1779 1785 1780 #: core/validators.py:39 31786 #: core/validators.py:392 1781 1787 msgid "This field is invalid." 1782 1788 msgstr "Dieses Feld ist ung�" 1783 1789 1784 #: core/validators.py:42 81790 #: core/validators.py:427 1785 1791 #, python-format 1786 1792 msgid "Could not retrieve anything from %s." 1787 1793 msgstr "Konnte nichts von %s empfangen." 1788 1794 1789 #: core/validators.py:43 11795 #: core/validators.py:430 1790 1796 #, python-format 1791 1797 msgid "" … … 1793 1799 msgstr "Die URL %(url)s lieferte den falschen Content-Type '%(contenttype)s'." 1794 1800 1795 #: core/validators.py:46 41801 #: core/validators.py:463 1796 1802 #, python-format 1797 1803 msgid "" … … 1802 1808 "beginnt mit \"%(start)s\"." 1803 1809 1804 #: core/validators.py:46 81810 #: core/validators.py:467 1805 1811 #, python-format 1806 1812 msgid "" … … 1811 1817 "beginnt mit \"%(start)s\"." 1812 1818 1813 #: core/validators.py:47 31819 #: core/validators.py:472 1814 1820 #, python-format 1815 1821 msgid "" … … 1820 1826 "\"%(start)s\"." 1821 1827 1822 #: core/validators.py:47 81828 #: core/validators.py:477 1823 1829 #, python-format 1824 1830 msgid "" … … 1829 1835 "\"." 1830 1836 1831 #: core/validators.py:48 21837 #: core/validators.py:481 1832 1838 #, python-format 1833 1839 msgid "" … … 1838 1844 "Zeile beginnt mit \"%(start)s\"." 1839 1845 1840 #: core/validators.py:48 71846 #: core/validators.py:486 1841 1847 #, python-format 1842 1848 msgid "" … … 1875 1881 "\", beim Klicken gedr�alten." 1876 1882 1877 #: core/meta/fields.py:50 81883 #: core/meta/fields.py:506 1878 1884 msgid "Enter a valid filename." 1879 1885 msgstr "Bitte einen g�n Dateinamen eingeben" 1880 1886 1881 #: core/meta/fields.py:78 21887 #: core/meta/fields.py:780 1882 1888 #, python-format 1883 1889 msgid "Please enter valid %(self)s IDs. The value %(value)r is invalid." django/branches/magic-removal/django/core/mail.py
r2443 r2549 15 15 MIMEText.__setitem__(self, name, val) 16 16 17 def send_mail(subject, message, from_email, recipient_list, fail_silently=False ):17 def send_mail(subject, message, from_email, recipient_list, fail_silently=False, auth_user=settings.EMAIL_HOST_USER, auth_password=settings.EMAIL_HOST_PASSWORD): 18 18 """ 19 19 Easy wrapper for sending a single message to a recipient list. All members 20 20 of the recipient list will see the other recipients in the 'To' field. 21 21 """ 22 return send_mass_mail([[subject, message, from_email, recipient_list]], fail_silently )22 return send_mass_mail([[subject, message, from_email, recipient_list]], fail_silently, auth_user, auth_password) 23 23 24 def send_mass_mail(datatuple, fail_silently=False ):24 def send_mass_mail(datatuple, fail_silently=False, auth_user=settings.EMAIL_HOST_USER, auth_password=settings.EMAIL_HOST_PASSWORD): 25 25 """ 26 26 Given a datatuple of (subject, message, from_email, recipient_list), sends … … 28 28 29 29 If from_email is None, the DEFAULT_FROM_EMAIL setting is used. 30 If auth_user and auth_password are set, they're used to log in. 30 31 """ 31 32 try: 32 33 server = smtplib.SMTP(settings.EMAIL_HOST) 34 if auth_user and auth_password: 35 server.login(auth_user, auth_password) 33 36 except: 34 37 if fail_silently: … … 59 62 60 63 def mail_admins(subject, message, fail_silently=False): 61 "Sends a message to the admins, as defined by the ADMINS constant in settings.py."64 "Sends a message to the admins, as defined by the ADMINS setting." 62 65 send_mail(settings.EMAIL_SUBJECT_PREFIX + subject, message, settings.SERVER_EMAIL, [a[1] for a in settings.ADMINS], fail_silently) 63 66 64 67 def mail_managers(subject, message, fail_silently=False): 65 "Sends a message to the managers, as defined by the MANAGERS constant in settings.py"68 "Sends a message to the managers, as defined by the MANAGERS setting." 66 69 send_mail(settings.EMAIL_SUBJECT_PREFIX + subject, message, settings.SERVER_EMAIL, [a[1] for a in settings.MANAGERS], fail_silently) django/branches/magic-removal/docs/email.txt
r2137 r2549 27 27 ``django.core.mail.send_mail``. Here's its definition:: 28 28 29 send_mail(subject, message, from_email, recipient_list, fail_silently=False) 29 send_mail(subject, message, from_email, recipient_list, 30 fail_silently=False, auth_user=EMAIL_HOST_USER, 31 auth_password=EMAIL_HOST_PASSWORD) 30 32 31 All parameters are required except for ``fail_silently``, which is ``False`` by 32 default.33 The ``subject``, ``message``, ``from_email`` and ``recipient_list`` parameters 34 are required. 33 35 34 36 * ``subject``: A string. … … 41 43 an ``smtplib.SMTPException``. See the `smtplib docs`_ for a list of 42 44 possible exceptions, all of which are subclasses of ``SMTPException``. 45 * ``auth_user``: **New in Django development version.** The optional 46 username to use to authenticate to the SMTP server. If this isn't 47 provided, Django will use the value of the ``EMAIL_HOST_USER`` setting. 48 * ``auth_password``: **New in Django development version.** The optional 49 password to use to authenticate to the SMTP server. If this isn't 50 provided, Django will use the value of the ``EMAIL_HOST_PASSWORD`` 51 setting. 43 52 44 53 .. _smtplib docs: http://www.python.org/doc/current/lib/module-smtplib.html … … 50 59 Here's the definition:: 51 60 52 send_mass_mail(datatuple, fail_silently=False): 61 send_mass_mail(datatuple, fail_silently=False, 62 auth_user=EMAIL_HOST_USER, auth_password=EMAIL_HOST_PASSWORD): 53 63 54 64 ``datatuple`` is a tuple in which each element is in this format:: … … 56 66 (subject, message, from_email, recipient_list) 57 67 58 ``fail_silently`` has the same function as in ``send_mail()``. 68 ``fail_silently``, ``auth_user`` and ``auth_password`` have the same functions 69 as in ``send_mail()``. Note that ``auth_user`` and ``auth_password`` are only 70 available in the Django development version. 59 71 60 72 Each separate element of ``datatuple`` results in a separate e-mail message. django/branches/magic-removal/docs/generic_views.txt
r2455 r2549 258 258 dictionary to indicate the name of the slug field. 259 259 260 If you rusing the object_id-style URLs, you'll just need to give the URL260 If you're using the object_id-style URLs, you'll just need to give the URL 261 261 pattern an ``object_id`` field. 262 262 … … 291 291 Takes the following optional arguments: 292 292 293 ======================= ================================================= 294 Argument Description 295 ======================= ================================================= 296 ``paginate_by`` If set to an integer, the view will paginate 297 objects with ``paginate_by`` objects per page. 298 The view will expect a ``page`` GET param with 299 the (zero-indexed) page number. 300 301 ``allow_empty`` If ``False`` and there are no objects to display, 302 the view will raise a 404 instead of displaying 303 an empty index page. ``False`` is default. 304 ``template_object_name`` **New in Django development version.** Designates 305 the name of the object template variable. Default 306 is ``'object'``. 307 ======================= ================================================= 308 309 Uses the template ``<app_label>/<model_name>_list`` by default. 293 ======================== ================================================= 294 Argument Description 295 ======================== ================================================= 296 ``paginate_by`` If set to an integer, the view will paginate 297 objects with ``paginate_by`` objects per page. 298 The view will expect a ``page`` GET param with 299 the (zero-indexed) page number. 300 301 ``allow_empty`` If ``False`` and there are no objects to display, 302 the view will raise a 404 instead of displaying 303 an empty index page. ``False`` is default. 304 305 ``template_object_name`` **New in Django development version.** Designates 306 the name of the object template variable. Default 307 is ``'object'``. 308 ======================== ================================================= 309 310 Uses the template ``<app_label>/<module_name_list>`` by default. 310 311 311 312 Has the following template context: django/branches/magic-removal/docs/settings.txt
r2524 r2549 334 334 335 335 The host to use for sending e-mail. 336 337 EMAIL_HOST_PASSWORD 338 ------------------- 339 340 Default: ``''`` (Empty string) 341 342 **New in Django development version.** 343 344 Username to use for the SMTP server defined in ``EMAIL_HOST``. If empty, 345 Django won't attempt authentication. 346 347 See also ``EMAIL_HOST_USER``. 348 349 EMAIL_HOST_USER 350 --------------- 351 352 Default: ``''`` (Empty string) 353 354 **New in Django development version.** 355 356 Username to use for the SMTP server defined in ``EMAIL_HOST``. If empty, 357 Django won't attempt authentication. 358 359 See also ``EMAIL_HOST_PASSWORD``. 336 360 337 361 EMAIL_SUBJECT_PREFIX
