flamevert2409
@flamevert2409
Reviews Written
3
Average Rating
5.0
Posts
Q&A
mixin ์๋ฌ๊ฐ ๋์ ์คํ์ด ์๋์.
TodoMOMCV ํด๋์ค๋ฅผ ์๋์ํฌํธํด์ ์ด๋ ๊ฒ ์ ์ฅํ์ต๋๋ค. (์ฌ์ง)
- 0
- 4
- 398
Q&A
ํ๋ฉด ์๋ฌํ๋ฉด์ด ์๊พธ ๋จ๋ค์..
127.0.0.1:8000/todo/vonly/ ์๋์ค ์ฝ๋์127.0.0.1:8000/todo/create ๋ค์ด๊ฐ๋ url๋ง๋ค ์ด๋ ๊ฒ ๋ฃ๋์? from django.urls import path, include from .views import HomeView urlpatterns = { path('admin/', admin.site.urls), path('', HomeView.as_view(), name='home'), path('todo/', include('todo.urls')), } from django.urls import path from . import views app_name = 'todo' urlpatterns = [ path('vonly/', views.TodoVueOnlyTV.as_view(), name='vonly'), path('create/', views.TodoVueOnlyTV.as_view(), name='create'), ]์ ๊ฐ url ์ ์ํ๋ ๋ฐฉ๋ฒ์ ๋ชจ๋ฆ ๋๋ค. ๊ฐ์์๋ vonly ์ ํ๋ ๊ฒ๋ง ๋์์๋ค์.์ ๋ todo/list, todo/create url ๋ฆฌ๋ค์ด๋ ์ ๋ง๋ค ์๋ฌ๊ฐ ๋์ ์ด๋ป๊ฒ ์ฝ๋๋ฅผ ์์ฑํด์ผ ํ๋์?
- 0
- 4
- 397
Q&A
์ํฌํธ๊ฐ ์ ์๋์~~~~
Microsoft Windows [Version 10.0.19045.3448](c) Microsoft Corporation. All rights reserved.C:\Users\user\data>C:/Users/user/AppData/Local/Programs/Python/Python311/python.exe c:/Users/user/data/sel.pyTraceback (most recent call last): File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 38, in get_path path = SeleniumManager().driver_location(options) if path is None else path ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\common\selenium_manager.py", line 76, in driver_location browser = options.capabilities["browserName"] ^^^^^^^^^^^^^^^^^^^^AttributeError: 'str' object has no attribute 'capabilities'During handling of the above exception, another exception occurred:Traceback (most recent call last): File "c:\Users\user\data\sel.py", line 33, in File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in init super().__init__( File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 51, in init self.service.path = DriverFinder.get_path(self.service, options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\user\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\common\driver_finder.py", line 40, in get_path msg = f"Unable to obtain driver for {options.capabilities['browserName']} using Selenium Manager." ^^^^^^^^^^^^^^^^^^^^
- 1
- 3
- 310
Q&A
์์ ์๋ฃ ๋ณด๋ด์ฃผ์ธ์
์ฐพ์๋ณด๋ ๊ฐ์ฌ๋์ด ์ฌ๋ ค์ฃผ์ ๊ฐ์์๋ฃ๊ฐ ์์์ต๋๋ค.
- 0
- 2
- 425




