게시글
질문&답변
2024.03.21
mixin 에러가 나서 실행이 안되요.
TodoMOMCV 클래스를 자동임포트해서 이렇게 저장했습니다. (사진)
- 0
- 4
- 267
질문&답변
2024.03.15
화면 에러화면이 자꾸 뜨네요..
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
- 281
질문&답변
2023.09.24
임포트가 잘 안되요~~~~
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
- 246
질문&답변
2023.05.25
수업 자료 보내주세요
찾아보니 강사님이 올려주신 강의자료가 있었습니다.
- 0
- 2
- 333
고민있어요
2022.12.26 14:52
강의교재 이메일 부탁드립니다.
- 0
- 0
- 175