I am a beginner and I have problems with urls, I have a project, in the project an application "contacts", in the application, I created a folder views, in the folder views, a file index.py the contents of my urls file is as follows: from django.urls import * from django.contrib import * urlpatterns = [ re_path(r'^admin/', admin.site.urls), re_path(r'^index$', include('contacts.urls')), #re_path(r'^$', contact.view
oups sorry
I am a beginner and I have problems with urls,
I have a project, in the project an application "contacts", in the application, I created a folder views, in the folder views, a file index.py
yamnay_: but contacts.views.index.page is not a module. maybe you mean `from contacts.views.index import page`
sturtle joined the channel
jalalsfs has quit
amirpro has quit
amirpro joined the channel
amirpro has quit
yamnay_ has quit
amirpro joined the channel
jj7 joined the channel
stitched_unicorn joined the channel
jalalsfs joined the channel
amirpro has quit
amirpro joined the channel
kingarmadillo joined the channel
backnforth joined the channel
amirpro has quit
amirpro joined the channel
stitched_unicorn has quit
kingarmadillo has quit
backnforth has quit
amirpro_ joined the channel
amirpro has quit
amirpro joined the channel
felixx has quit
vovs03 joined the channel
amirpro_ has quit
bomb joined the channel
kanja joined the channel
vovs03 has quit
sturtle has quit
mad_moses has quit
arlyon joined the channel
sturtle joined the channel
sunil_bansal joined the channel
finster has quit
EyePulp joined the channel
badfilms has quit
bullicon joined the channel
greg_f joined the channel
xliiv joined the channel
Donitzo has quit
bullicon has quit
danpalmer joined the channel
ovalseven8 joined the channel
ovalseven8
Hey, I need your help. In the PasswortResetView there is the default template 'password_reset_email.html' containing {{ protocol }} etc. I do not find WHERE the template variables are defined
Because now I need to do a custom view and I also need all those variables. However, it should be the same as in PasswordResetView
harmaahylje
they should be in the view
ovalseven8
harmaahylje, I look through the code but I cannot find it :/