My name is Destiny Franks, and I'm a 22-year-old Nigerian programmer. I'm deeply passionate about coding, and it's my long-term career goal. To share my journey and knowledge with others, I've started teaching on KZread. Through my channel, you'll dive into programming, software engineering, machine learning, and all things IT. With a focus on Python and JavaScript, I aim to equip you with free resources to kickstart your coding journey and excel in the software engineering and programming industry. My ultimate goal is to provide you with the highest quality programming and technology content on the internet!
Пікірлер
Hello Please I followed all the steps at around 9:41 on the video but I got an unbound local error. I understand that it has something to do with my method on my sign-ups.html but like I said I followed all the steps but I got an UnboundLocalError
Can you post starting template? I just find finaliazed templates in git. Thank you so much!
Great video
hey destiny, i'm honest with, even when i wouldnt been developer, i would watch your content... because no one else can start his video in this manner and with this voice, you could start your own podcast 👌
Thanks a lot, brother! I appreciate your positive comment!
you are a ❤
Thanks buddy!
your explanation are awesome... i've waste my whole day to find a solution, but yours is even much better :)
Sir please upload all the videos soon sir please
The upload schedule is one video every other day, allowing me a full day to create, edit, export, and upload each video.
Another fantastic lesson
I'm happy you like the series!
Hi, I bought your theme but since you haven't implemented variants, I would like to get some advice. like what type of model fields need to be in a variant model and how I link it etc. Also, I would appreciate if you could let us know when you are doing variants implementation cuz that's part of any advance e-commerce website, thanks.
Hi there, here is a model sample: class Variant(models.Model): product = models.ForeignKey(Course, on_delete=models.CASCADE) title = models.CharField(max_length=1000, verbose_name="Variant Name", null=True, blank=True) def __str__(self): return self.title def variant_items(self): return VariantItem.objects.filter(variant=self) class VariantItem(models.Model): variant = models.ForeignKey(Variant, on_delete=models.CASCADE, related_name='variant_items') description = models.TextField(max_length=200, verbose_name="Lecture Description", null=True, blank=True) file = models.FileField(upload_to="course-file", verbose_name="Lecture File", null=True, blank=True) class Meta: ordering = ["date"] verbose_name_plural = "Variant Item" In the admins use django admin.TabularInline to add the variants to the course model so you can quickly add multiple variant. A course update is coming soon where I implemented this feature into the ecommerce platform.
@@desphixs Thanks!
i am not able to see images i uploaded in my admin panel
Can you show me a screenshot or an error message?
@@desphixs nah thank you error is solved btw thank you your videos are great
Thanks Desphixs that was really helpfull can u plz give us the word's sheet
You're welcome, please send a message to [email protected] and request for the file, you'll get it sent to you.
Hi, please send an email to [email protected] requesting for the file it'll get sent to you. Thanks
I am waiting to the next
Dropping today!
Hello, I want to buy your course but. Can you put a preview of the website online via a link to get an idea of the content and architecture? Because in your video I notice that there is less design on the pages.
Yes, in the video were basically using only bootstrap, but I'm extending the source code to use a more better design
i really want to continue with this tutorial but sadly the static file are no where to be found love you content thou
I apologize for the inconveniences bro, please use the link in the description to get the source code and all the static files used in the course.
where are the templates
can you share static folder
Please use the link in the description
bro you sounds like final boss of some ni**a game 😭😭
I am not getting correct index.html file
I am interested in purchasing your Udemy course.Before I enroll, I wanted to ask if the course includes any Figma prototypes or resources that can help with the design aspect.
There is no figma file attached to this version. A new version of the source code will be released soon which will have the figma file and you can use it for a real lms
I love this❤
Thanks brother!
Bro, thanks so much ) Hello from Russia )
Hi there, Thanks for watching the tutorial, much love
Hi, I bought the theme. How did you achieve pagination(when there is like 200 products, and efficiently loading them), can you point me to the specific episode in your playlist, if you did that??
Hi there, for paginations a better video is coming soon for that. Here is a code sample from django.core.paginator import Paginator from django.shortcuts import render def product_list(request): product_list = Product.objects.all() # Replace with your queryset paginator = Paginator(product_list, 10) # Show 10 products per page page_number = request.GET.get('page') page_obj = paginator.get_page(page_number) context = { 'page_obj': page_obj, } return render(request, 'product_list.html', context) product_list.html {% for product in page_obj %} <!-- Display each product --> <div class="product"> <h2>{{ product.name }}</h2> <p>{{ product.price }}</p> </div> {% endfor %} <!-- Pagination controls --> <div class="pagination"> <span class="step-links"> {% if page_obj.has_previous %} <a href="?page=1">« first</a> <a href="?page={{ page_obj.previous_page_number }}">previous</a> {% endif %} <span class="current"> Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}. </span> {% if page_obj.has_next %} <a href="?page={{ page_obj.next_page_number }}">next</a> <a href="?page={{ page_obj.paginator.num_pages }}">last »</a> {% endif %} </span> </div>
@desphixs Hi. I put more research on this, and there is times where you only want to paginate a specific section on a page. So, it's better to use ajax requests. Have you tried looking into that as a pagination solution? Also, from what I understand, it's usually better than performing new whole page requests
Hello sir, I want to know when the inventory system course please
excellent explanation of CRUD operations. Sir. I have One Question, Payment gateways like Paypal and stripe are not allowed in Pakistan means not able to create account on these gateways. so how I practice these for my portfolio projects. ??
sir. looking for response
Hi I was wondering would it be easy or difficult to change the layout of the websites front end with reactjs?
If you're not very familiar with HTML, CSS and React, it would be difficult for you.
Just what I needed thanks ❤
You’re welcome 😊
Bro can you help me when you said comment Auth, comment urls admin, after that when I migrate it says:model class Django. Contrib.admin.models.Logentry......
HI there, can you paste your full error traceback let me take a look at it
@@desphixs No thank you I have already solved it I deleted project then again write that code and did migrations and migrate but I didn't comment urls admin. It is worked
what is the password and email for 127.0.0.1:8000/admin/login/?next=/admin/ django login brother. do we have any file in the project to see
I am learning django in 2024 and i found this wonderful series. I also bought your package. I was following along every video till now. But 2 different erros appeared. First it asked to install pillow to use ImageField and it is showing 'url' is not defined. Can you help? Thanks Destiny
Thanks for reaching out. Firstly, it would be helpful to paste the error message you're getting, paste the full traceback so we can pinpoint where this error is coming from. The pillow error is occurring because you have not installed the pillow. Please use "pip install pillow" to install the pillow package and fix the error.
@@desphixs Thank you for replying. I have troubleshooted my error. Actually while registering, I was registering productImagesAdmin. It was causing error url issue
Despite the fact that I have faced difficulty with the English language, I am Arab. However, I have learned a lot through this project.
can you help me with this error i got: Internal Server Error: /api/v1/post/lists/ Traceback (most recent call last): File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\core\handlers\base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view return view_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\views\generic\base.py", line 104, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages est_framework\views.py", line 492, in dispatch request = self.initialize_request(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages est_framework\views.py", line 394, in initialize_request authenticators=self.get_authenticators(), ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages est_framework\views.py", line 272, in get_authenticators return [auth() for auth in self.authentication_classes] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'type' object is not iterable
I am using Django for 2 years but I would like to learn React to incorporate it with Django. Can you tell me where to start with React?
I would recommend that you take a React crash course where you would learn things like basic React setup, hooks, jsx component rendering, functions, and classes, and then you can start building projects. I will make a full roadmap video
@@desphixs do you have some course to recommend. Thank you on reply
Bro Your previous comment on my comment doesn't shown for me So I am Reposting it Can you give solution to it please : Traceback (most recent call last): File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\core\handlers\exception.py", line 55, in inner response = get_response(request) ^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\core\handlers\base.py", line 197, in _get_response response = wrapped_callback(request, *callback_args, **callback_kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\views\decorators\csrf.py", line 56, in wrapper_view return view_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages\django\views\generic\base.py", line 104, in view return self.dispatch(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages est_framework\views.py", line 492, in dispatch request = self.initialize_request(request, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages est_framework\views.py", line 394, in initialize_request authenticators=self.get_authenticators(), ^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\dr_blog\BackEnd\venv\Lib\site-packages est_framework\views.py", line 272, in get_authenticators return [auth() for auth in self.authentication_classes] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ TypeError: 'type' object is not iterable
Hello please help me i have this error on 12:55, after deleted the 0001_initial file and dbsqlite and running makemigrations I showed me another error . so I decided to restore the 000_1initial file and db.sqlite3 file but have this how can I fix it please help me Traceback (most recent call last): File "D:\Projects\bolo_rides\boloCars\manage.py", line 22, in <module> main() File "D:\Projects\bolo_rides\boloCars\manage.py", line 18, in main execute_from_command_line(sys.argv) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\__init__.py", line 442, in execute_from_command_line utility.execute() File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\base.py", line 413, in run_from_argv self.execute(*args, **cmd_options) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\base.py", line 454, in execute self.check() File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\base.py", line 486, in check all_issues = checks.run_checks( ^^^^^^^^^^^^^^^^^^ File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\checks egistry.py", line 88, in run_checks new_errors = check(app_configs=app_configs, databases=databases) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\checks\templates.py", line 60, in check_for_template_tags_with_the_same_name for module_name, module_path in get_template_tag_modules(): File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\template\backends\django.py", line 105, in get_template_tag_modules for name in get_package_libraries(pkg): File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\template\backends\django.py", line 128, in get_package_libraries module = import_module(entry[1]) ^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\PC\AppData\Local\Programs\Python\Python312\Lib\importlib\__init__.py", line 90, in import_module return _bootstrap._gcd_import(name[level:], package, level) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen importlib._bootstrap>", line 1381, in _gcd_import File "<frozen importlib._bootstrap>", line 1354, in _find_and_load File "<frozen importlib._bootstrap>", line 1325, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 929, in _load_unlocked File "<frozen importlib._bootstrap_external>", line 994, in exec_module File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\jazzmin\templatetags\jazzmin.py", line 11, in <module> from django.contrib.admin.models import LogEntry File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\contrib\admin\models.py", line 48, in <module> class LogEntry(models.Model): File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\db\models\base.py", line 134, in __new__ raise RuntimeError( RuntimeError: Model class django.contrib.admin.models.LogEntry doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS. (myvenv) (myvenv) PC@DESKTOP-26A9125 MINGW64 /d/Projects/bolo_rides/boloCars $ python manage.py makemigrations Traceback (most recent call last): File "D:\Projects\bolo_rides\boloCars\manage.py", line 22, in <module> main() File "D:\Projects\bolo_rides\boloCars\manage.py", line 18, in main execute_from_command_line(sys.argv) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\__init__.py", line 442, in execute_from_command_line utility.execute() File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\base.py", line 413, in run_from_argv self.execute(*args, **cmd_options) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\base.py", line 459, in execute output = self.handle(*args, **options) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\base.py", line 107, in wrapper res = handle_func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\core\management\commands\makemigrations.py", line 158, in handle loader.check_consistent_history(connection) File "D:\Projects\bolo_rides\myvenv\Lib\site-packages\django\db\migrations\loader.py", line 327, in check_consistent_history raise InconsistentMigrationHistory( django.db.migrations.exceptions.InconsistentMigrationHistory: Migration admin.0001_initial is applied before its dependency userauths.0001_initial on database 'default'.
This error is on a development server or production server; I doubt it's on a production server, The best way to fix this error is to first delete all the migrations folder from all apps. Then first run py manage.py makemigrations userauths and py manage.py migrate userauths before you can run the migrations command. This issue means that the admin is depending on the user model to run, but then you migrated the admin first, before the user model.
I cant pay the amount, is there any way to download?
Please send your queries to [email protected] for further help
i want to buy only template bro
If you're interested in only the template and not the full source code, please send a message to [email protected] to get the link to buy only the templates used in the tutorial.
Still waiting for tge epic Django/Next.js course 😅
wait for EP 14
One of my product cards has a lower dimension than the other probably because of the picture, how can I ensure that the picture size remains the same, or if some other user uploads the image, it proportionally enlarges or delarges it?
Bro loves bananas so much that he keeps saying it everywhere LOL 😂
What is TabularInline class and why was it ONLY used for ProductImage and not for anything else? What does the "inlines" variable do? And why was the "inlines" variable only linked in the ProductAdmin function and not any else?
I'm getting this error on the admin page, what should I do? "You are authenticated as [email] but are not authorized to access this page. Would you like to login to a different account?"
do i have to pay for templates?
i cant find the source code for front end can u please tell me how to get it
You will make all the "paid" Django courses out of business lol 😂. After your course, we don't need any other course.
Why are we using /media/ in CartOrderItems but not in other functions when defining the function for mark_safe? Also, why did we remove ".url"
Reverse for 'posts-home' not found. 'posts-home' is not a valid view function or pattern name. It keeps on giving this error !
just purchased your templates, thanks
Thank you brother ❤️
can't i get the templates for free?
Why open the links it's showing the template is not found, do I have to purchase the templates for it