Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
D
django
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
django
Commits
3af9b700
Kaydet (Commit)
3af9b700
authored
Agu 17, 2015
tarafından
Tim Graham
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Refs #22789 -- Removed contrib.webdesign per deprecation timeline.
üst
57039f96
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
2 additions
and
72 deletions
+2
-72
__init__.py
django/contrib/webdesign/__init__.py
+0
-12
apps.py
django/contrib/webdesign/apps.py
+0
-7
__init__.py
django/contrib/webdesign/templatetags/__init__.py
+0
-0
webdesign.py
django/contrib/webdesign/templatetags/webdesign.py
+0
-6
index.txt
docs/ref/contrib/index.txt
+0
-9
webdesign.txt
docs/ref/contrib/webdesign.txt
+0
-12
builtins.txt
docs/ref/templates/builtins.txt
+0
-4
spelling_wordlist
docs/spelling_wordlist
+0
-1
tests.py
tests/apps/tests.py
+2
-2
runtests.py
tests/runtests.py
+0
-5
__init__.py
tests/webdesign_tests/__init__.py
+0
-0
tests.py
tests/webdesign_tests/tests.py
+0
-14
No files found.
django/contrib/webdesign/__init__.py
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
import
warnings
from
django.utils.deprecation
import
RemovedInDjango110Warning
default_app_config
=
'django.contrib.webdesign.apps.WebDesignConfig'
warnings
.
warn
(
"django.contrib.webdesign will be removed in Django 1.10. The "
"{
%
lorem
%
} tag is now included in the built-in tags."
,
RemovedInDjango110Warning
)
django/contrib/webdesign/apps.py
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
from
django.apps
import
AppConfig
from
django.utils.translation
import
ugettext_lazy
as
_
class
WebDesignConfig
(
AppConfig
):
name
=
'django.contrib.webdesign'
verbose_name
=
_
(
"Web Design"
)
django/contrib/webdesign/templatetags/__init__.py
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
django/contrib/webdesign/templatetags/webdesign.py
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
from
django
import
template
from
django.template.defaulttags
import
lorem
register
=
template
.
Library
()
register
.
tag
(
lorem
)
docs/ref/contrib/index.txt
Dosyayı görüntüle @
3af9b700
...
...
@@ -35,7 +35,6 @@ those packages have.
sites
staticfiles
syndication
webdesign
admin
=====
...
...
@@ -137,14 +136,6 @@ A framework for generating syndication feeds, in RSS and Atom, quite easily.
See the :doc:`syndication documentation </ref/contrib/syndication>`.
webdesign
=========
Helpers and utilities targeted primarily at Web *designers* rather than
Web *developers*.
See the :doc:`Web design helpers documentation </ref/contrib/webdesign>`.
Other add-ons
=============
...
...
docs/ref/contrib/webdesign.txt
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
========================
django.contrib.webdesign
========================
.. module:: django.contrib.webdesign
:synopsis: Helpers and utilities targeted primarily at Web *designers*
rather than Web *developers*.
.. deprecated:: 1.8
The package contained only a single template tag and it has been moved
to the built-in tags (:ttag:`lorem`).
docs/ref/templates/builtins.txt
Dosyayı görüntüle @
3af9b700
...
...
@@ -721,10 +721,6 @@ more information.
lorem
^^^^^
.. versionadded:: 1.8
The tag was previously located in :mod:`django.contrib.webdesign`.
Displays random "lorem ipsum" Latin text. This is useful for providing sample
data in templates.
...
...
docs/spelling_wordlist
Dosyayı görüntüle @
3af9b700
...
...
@@ -937,7 +937,6 @@ virtualenvs
virtualized
Votizen
webapps
webdesign
webkit
WebKit
Weblog
...
...
tests/apps/tests.py
Dosyayı görüntüle @
3af9b700
...
...
@@ -118,7 +118,7 @@ class AppsTests(SimpleTestCase):
self
.
assertEqual
(
app_config
.
name
,
'django.contrib.staticfiles'
)
with
self
.
assertRaises
(
LookupError
):
apps
.
get_app_config
(
'
webdesign
'
)
apps
.
get_app_config
(
'
admindocs
'
)
msg
=
"No installed app with label 'django.contrib.auth'. Did you mean 'myauth'"
with
self
.
assertRaisesMessage
(
LookupError
,
msg
):
...
...
@@ -132,7 +132,7 @@ class AppsTests(SimpleTestCase):
self
.
assertTrue
(
apps
.
is_installed
(
'django.contrib.admin'
))
self
.
assertTrue
(
apps
.
is_installed
(
'django.contrib.auth'
))
self
.
assertTrue
(
apps
.
is_installed
(
'django.contrib.staticfiles'
))
self
.
assertFalse
(
apps
.
is_installed
(
'django.contrib.
webdesign
'
))
self
.
assertFalse
(
apps
.
is_installed
(
'django.contrib.
admindocs
'
))
@override_settings
(
INSTALLED_APPS
=
SOME_INSTALLED_APPS
)
def
test_get_model
(
self
):
...
...
tests/runtests.py
Dosyayı görüntüle @
3af9b700
...
...
@@ -169,11 +169,6 @@ def setup(verbosity, test_labels, parallel):
handler
=
logging
.
StreamHandler
()
logger
.
addHandler
(
handler
)
warnings
.
filterwarnings
(
'ignore'
,
'django.contrib.webdesign will be removed in Django 1.10.'
,
RemovedInDjango110Warning
)
warnings
.
filterwarnings
(
'ignore'
,
'The GeoManager class is deprecated.'
,
...
...
tests/webdesign_tests/__init__.py
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
tests/webdesign_tests/tests.py
deleted
100644 → 0
Dosyayı görüntüle @
57039f96
# -*- coding: utf-8 -*-
from
__future__
import
unicode_literals
from
django.template
import
Context
,
Template
from
django.test
import
SimpleTestCase
,
modify_settings
@modify_settings
(
INSTALLED_APPS
=
{
'append'
:
'django.contrib.webdesign'
})
class
WebdesignTest
(
SimpleTestCase
):
def
test_lorem_tag
(
self
):
t
=
Template
(
"{
%
load webdesign
%
}{
%
lorem 3 w
%
}"
)
self
.
assertEqual
(
t
.
render
(
Context
({})),
'lorem ipsum dolor'
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment