Django-Tutorials icon indicating copy to clipboard operation
Django-Tutorials copied to clipboard

Source code for my free YouTube series on the Django web framework for Python.

Results 14 Django-Tutorials issues
Sort by recently updated
recently updated
newest added
trafficstars

Hi Max, Thank you for your youtube videos and making your materials available. I keep running into a value error. In the Django Tutorial Part 15 I was getting the...

Tengo el siguiente error: Environment: Request Method: GET Request URL: http://127.0.0.1:8000/blog/7/compartir/ Django Version: 3.2.9 Python Version: 3.10.0 Installed Applications: ['django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'blog.apps.BlogConfig'] Installed Middleware: ['django.middleware.security.SecurityMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware',...

`from django.contrib import auth from django.contrib.auth.forms import AuthenticationForm, UserModel, UsernameField from django.http import request from django.http.response import HttpResponse, HttpResponseRedirect from django.shortcuts import redirect, render from django.views.generic import View from .forms...

from django.shortcuts import render, redirect from django.contrib.auth.forms import UserCreationForm from django.contrib import messages def register(request): if request.method == 'POST': form = UserCreationForm(request.POST) if form.is_valid(): username = form.cleaned_data.get('username') messages.success(request, f'Account created...

I'm currently learning django, and using your tutorials. I wanted to check out your code. When I try making migrations i get this error django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not...

Traceback (most recent call last): File "manage.py", line 22, in execute_from_command_line(sys.argv) File "/home/computer/saleor_Learn/Django-Tutorials/tutorial-env/lib/python3.6/site-packages/django/core/management/__init__.py", line 381, in execute_from_command_line utility.execute() File "/home/computer/saleor_Learn/Django-Tutorials/tutorial-env/lib/python3.6/site-packages/django/core/management/__init__.py", line 375, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/home/computer/saleor_Learn/Django-Tutorials/tutorial-env/lib/python3.6/site-packages/django/core/management/base.py", line 316, in...

Hi Guys, I see that this issue has been resolved. But in my case is still bugging me. This is my code, could someone check it and see what i'am...

**File "tutorial\accounts\models.py", line 24, in create_profile user_profile = UserProfile.objects.create(user=kwargs['instance']) AttributeError: type object 'UserProfile' has no attribute 'objects'** _when we register new user or createsuperuser form commandline then above error comes._

Hi Max Please assist me, i keep getting redirected to the login page every time i try to access the admin page. Iv been struggling with this for a bit....

removed the blank spaces for my hacktoberfest submission btw big fan