[geany/www.geany.org] 694f43: Use RadioSelect as widget for the snippet expire options
Enrico Tröger
git-noreply at xxxxx
Thu May 23 19:55:39 UTC 2013
Branch: refs/heads/master
Author: Enrico Tröger <enrico.troeger at uvena.de>
Committer: Enrico Tröger <enrico.troeger at uvena.de>
Date: Thu, 23 May 2013 19:55:39 UTC
Commit: 694f430a2b7a05a1fc1aa4490c888b17337be4d2
https://github.com/geany/www.geany.org/commit/694f430a2b7a05a1fc1aa4490c888b17337be4d2
Log Message:
-----------
Use RadioSelect as widget for the snippet expire options
Modified Paths:
--------------
pastebin/forms.py
Modified: pastebin/forms.py
5 files changed, 3 insertions(+), 2 deletions(-)
===================================================================
@@ -3,12 +3,12 @@
# it under the terms of the GNU Affero General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
-#
+#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
-#
+#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
@@ -47,6 +47,7 @@ class SnippetForm(forms.ModelForm):
choices=EXPIRE_CHOICES,
initial=EXPIRE_DEFAULT,
label=_(u'Expires'),
+ widget=forms.RadioSelect,
)
#----------------------------------------------------------------------
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list