Commit 434c9286 authored by cj0125's avatar cj0125

3rd commit

parent 18ed47af
".gitattributes" ".gitattributes"
"db.splite3"
"geckodriver.log"
"/__pycache__/"
File added
...@@ -71,6 +71,6 @@ class NewVisitorTest(unittest.TestCase): ...@@ -71,6 +71,6 @@ class NewVisitorTest(unittest.TestCase):
self.assertIn('http://localhost:8000/recipes_update_form', self.browser.current_url) self.assertIn('http://localhost:8000/recipes_update_form', self.browser.current_url)
self.fail('Finish the test!') self.fail('Finish the test!')
if __name__ == 'main': if __name__ == '__main__':
unittest.main(warnings = 'ignore') unittest.main(warnings = 'ignore')
This diff is collapsed.
...@@ -13,7 +13,7 @@ Including another URLconf ...@@ -13,7 +13,7 @@ Including another URLconf
1. Import the include() function: from django.conf.urls import url, include 1. Import the include() function: from django.conf.urls import url, include
2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls')) 2. Add a URL to urlpatterns: url(r'^blog/', include('blog.urls'))
""" """
from django.conf.urls import url from django.conf.urls import url, include
from django.contrib import admin from django.contrib import admin
urlpatterns = [ urlpatterns = [
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment