Empty link
See original GitHub issueHey! Why is the link empty?
views.py ` class UserRegisterView(View):
def get(self, request, *args, **kwargs):
if request.user.is_authenticated:
return redirect('shop:index')
else:
form = UserRegisterForm()
return render(request, 'account/register.html', context={'form': form})
def post(self, request, *args, **kwargs):
form = UserRegisterForm(request.POST)
if form.is_valid():
cd = form.cleaned_data
if cd['password'] != cd['confirm_password']:
messages.error(request, 'Пароли не совпадают!')
return redirect('account:register')
elif CustomUser.objects.filter(email=cd['email']).exists():
messages.error(request, 'Пользователь с таким email существует!')
return redirect('account:register')
else:
user = CustomUser.objects.create_user(email=cd['email'], password=cd['password'])
user.is_active = False
send_email(user)
messages.add_message(request, messages.INFO,
'Вам на почту отправлено письмо с подтвержением регистрациии!')
return redirect('shop:index')
`
I get this msg
<h1>You are almost there, namedima28@gmail.com!</h1><br>
<h2>Please click <a href="">here</a> to confirm your account</h2>
<h2>The token expires on 19:47</h2>
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Empty Link - example - Pope Tech Blog
Summary: Real world example on the Empty Link Error. You can review what this means technically and the impact inside of our Icon...
Read more >Empty Link - Equalize Digital
An Empty Link error means that one of the links present on the web page is empty or contains no text describing where...
Read more >Empty link - Web Accessibility Guidelines - About Steven Mouret
When a link has no text link, it is not read in the technical assistance or indicated as empty. A common error is...
Read more >Link contain no text showing error in Wave accessibility ...
According to the WAVE tool the two <a> elements you provided both contain Empty Links which violate WCAG 2.0 Guideline 2.4.4 "Link Purpose ......
Read more >Find and fix empty links | Webflow Accessibility Checklist
Empty links are links with no meaningful text or image alt text, like a social media icon inside a link block. This causes...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It works! Thank you very much :3
Try installing version 0.1.1rc1 of this library. Also have you included the library urls in your urls.py?