Thank you for sharing! I had a lot of fun putting this course together. lots more courses coming soon 👍😀👍
thank you for this video
Thank you to the author for putting this together.
Man, this is a tough watch. This is a glossy overview of an existing code base and should be renamed "Extending Django Authentication to Utilize Google Recaptcha, An Overview".
This is an extremely dense, high-level review of a methodology for extending Django's user auth.
If you're looking for a video about how to leverage Geo API fetches and work with models based on those fetches, this video ain't it.
Hello,
I have a doubt, I was trying to run this code on my local machine and was getting this error "AttributeError: 'WSGIRequest' object has no attribute 'is_ajax'", Can anyone please help me out
can not work at the at the last part :((( it gives me this error " File "D:\django_google_api_project\main\urls.py", line 3, in
from .import views
File "D:\django_google_api_project\main\views.py", line 4, in
from django_google_api_project.mixins import Directions
File "D:\django_google_api_project\django_google_api_project\mixins.py", line 5, in
from urllib.parse import redirect, urlencode
ImportError: cannot import name 'redirect' from 'urllib.parse' (D:\Anaconda3\lib\urllib\parse.py)
" when I tried to do python manage.py migrate .
Anyone who occurred this problem and solved it?
do i need to download js files you mentioned at 1.20.0?
I'm getting this error while trying to make migration, could you help me please to fix it ?
(django_google_smartcollect) C:\Users\DELL\OneDrive\Bureau\SmartCollect\django_google_smartcollect>python manage.py migrate
Traceback (most recent call last):
File "C:\Users\DELL\OneDrive\Bureau\SmartCollect\django_google_smartcollect\manage.py", line 22, in
main()
File "C:\Users\DELL\OneDrive\Bureau\SmartCollect\django_google_smartcollect\manage.py", line 18, in main
execute_from_command_line(sys.argv)
File "C:\Users\DELL\Envs\django_google_smartcollect\lib\site-packages\django\core\management\__init__.py", line 425, in execute_from_command_line
utility.execute()
File "C:\Users\DELL\Envs\django_google_smartcollect\lib\site-packages\django\core\management\__init__.py", line 401, in execute
django.setup()
File "C:\Users\DELL\Envs\django_google_smartcollect\lib\site-packages\django\__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Users\DELL\Envs\django_google_smartcollect\lib\site-packages\django\apps\registry.py", line 114, in populate
app_config.import_models()
File "C:\Users\DELL\Envs\django_google_smartcollect\lib\site-packages\django\apps\config.py", line 300, in import_models
self.models_module = import_module(models_module_name)
File "C:\Users\DELL\AppData\Local\Programs\Python\Python310\lib\importlib\__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1006, in _find_and_load_unlocked
File "", line 688, in _load_unlocked
File "", line 883, in exec_module
File "", line 241, in _call_with_frames_removed
File "C:\Users\DELL\OneDrive\Bureau\SmartCollect\django_google_smartcollect\users\models.py", line 8, in
class UserProfile(models.Model):
File "C:\Users\DELL\OneDrive\Bureau\SmartCollect\django_google_smartcollect\users\models.py", line 17, in UserProfile
address = models.CharField(verbose_name="Address",max_lenght=100,null=True, blank=True)
File "C:\Users\DELL\Envs\django_google_smartcollect\lib\site-packages\django\db\models\fields\__init__.py", line 1002, in __init__
super().__init__(*args, **kwargs)
TypeError: Field.__init__() got an unexpected keyword argument 'max_lenght'
thanks a lot for this tutorial
Where is the point to record over two hours video where you mostly copy and paste the code. You complitely ignored web development flow. Skip this copy and paste phase and just go through the finished code and explain what you think is a core of the app, from the code flow perspective. Would be more interesting and shorter.
djangox新课程:https://www.youtube.com/watch?v=_GGkiXuJyBo&list=PLVZbSyqi77_q3C1pZcwX49TykDleNrc2H
Are these API free?
Thank you Sir..
Thanks!
Man this is extremely helpful, thank you so much!
var google_api_key = "{{google_api_key|safe}}";
var lat_a = {{lat_a|safe}};
var long_a = {{long_a|safe}};
var lat_b = {{lat_b|safe}};
var long_b = {{long_b|safe}};
var lat_c = {{lat_c|safe}};
var long_c = {{long_c|safe}};
var lat_d = {{lat_d|safe}};
var long_d = {{long_d|safe}};
var origin = "{{origin|safe}}";
var destination = "{{destination|safe}}";
var directions = {{directions|safe}};
# Is there an alternative for this syntax as it is giving error!
# this code is written in map.html file
ERROR MESSAGES:
Property assignment expected
',' expected
Declaration or assignment expected
you're AWESOMEEEEEEEEEEEE
Thanks!
Okay guys before you waste much time , this isnt a tutorial its a show case, or code review
With this video, you have really saved me tonnes of work and research thank you free code camp
i got recaptu set up however, it is not working says that localhost is not a valid domain
any idea?
Thanks for watching! Code: https://github.com/codingforentrepreneurs/Django-Rest-Framework-Tutorial
Chapters:
00:00:00 Welcome to the Django Rest Framework
00:01:54 Tools we are using
00:04:36 Setup Python Virtual Environment, Install Req, and Start Django
00:11:40 Creating a Python API Client
00:27:01 Run Django Project
00:31:16 Create your first API View
00:37:06 Echo GET Data
00:47:10 Django Model Instance as API Response
00:54:45 Django Model Instance to Dictionary
01:00:41 Rest Framework View & Response
01:04:27 Django Rest Framework Model Serializers
01:14:45 Ingest Data with Django Rest Framework Views
01:27:05 Django Rest Framework Generics RetrieveAPIView
01:35:54 Django Rest Framework CreateAPIView
01:41:57 Django Rest Framework ListAPIView & ListCreateAPIView
01:44:36 Using Function Based Views For Create Retrieve or List
01:55:17 UpdateAPIView & DestroyAPIView
02:04:05 Mixins and a Generic API View
02:16:33 Session Authentication & Permissions
02:23:21 User & Group Permissions with DjangoModelPermissions
02:30:55 Custom Permissions
02:45:46 Token Authentication
02:59:45 Default Django Rest Framework Settings
03:07:39 Using Mixins for Permissions
03:13:15 ViewSets & Routers
03:25:51 URLs, Reverse, & Serializers
03:33:47 Model Serializer Create & Update Methods
03:41:47 Custom Validation with Serializers
03:53:04 Request User Data & Customize View Queryset
04:08:44 Related Fields & Foreign Key Serializer
04:24:30 Pagination
04:32:36 A Django Based Search for our Product API
04:48:34 Building your Search Engine on Algolia
05:09:54 Agolia Search Client for Django
05:30:22 Unified Design of Serializers & Indices
05:46:48 JSON WEB Token Authentication with simplejwt
06:00:30 Login via JavaScript Client
06:16:23 Handle Request Blocked by CORS via django cors headers
06:23:53 Using JWT with JS Client
06:39:54 Search via REST API & JS Client
06:48:40 Algolia InstantSearch.js
07:00:35 Thank you and next steps
it's been a long journey that your channel raised up my career life with python and django stuffs.
i can't even describe how thankful your support is. your channel made a person to a good developer .
Thank You So Much. Hope you well and happy. Have a Good Day
Is it the same and completed course the API course from the website?
Great tutorial. I just have 1 question. Apparently the update class is not updating the content if content is None but updating the title, it's showing the desired output in the console but when I refresh the API web portal I see that title has been changed but not the content, until unless if I do it just like in create.
if you look at your code it says:
In update-
instance = serializer.save() #it doesn't work
and In create-
serializer.save(comment=comment) #If i do this way it works
Is it okay to do?
Amazing! Thank you man!
I have a question: I don’t know which video I should look first. I wanna learn Django Rest and React. I have an understanding of Django (used it a lot) and a basic understanding of java script. Is it better to see this video first or better the Django Twitter Clone with Django & React (this one: https://youtu.be/f1R_bykXHGE). I ask because I think I have to see both videos for the full understanding and don’t know where to start…. Thanks for the great work!
Thanks!
It's really great. Is it possible to have a tutorial on consuming this API in a Django application, I mean Django frontend and Django backend?
legend
please help i got the following error in this video @ 2:04
https://www.youtube.com/watch?v=l2_5wiYg5dY
PS C:\Users\JunaidJaved\desktop\cfeproj> pipenv install requests
pipenv : The term 'pipenv' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included,
verify that the path is correct and try again.
At line:1 char:1
+ pipenv install requests
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (pipenv:String) [], CommandNotFoundExcep
tion
+ FullyQualifiedErrorId : CommandNotFoundException
Top Course on Rest Framework. So much value
Nice video
A one shot on Django Channels also plz
what is the relation between authentication_classes and permisson_classes?
super helpful insight, thank you alot for the course.
1:11:30 what is the obj in get_my_discount()?
Best drf course on YouTube so far... Thank you so much.
nicely prepared and thanks for the work you put in for us
Awsome course so much information, it took me 3 weeks, I learned a lot....thank you so much.....greetings from South America :)
Hello
Thanks very much for the video!
This is so helpful!
Is there any chance that you could create the same video with an authentication using OAuth2? Also, out of the topic query, what's the best way how to implement a booking system along with calendar, for restaurants or for hospitals? Thank you
Pls tell me what the difference between in normal API and Restful API
Fantastic video! Thank you! 😀 Can I ask you what would be the best way to make an API that displays images? How would I do that with a database of images? I am not sure where to start. Any advice would be amazing!
100% working....Great maam
Subscribed just after seeing this vedio. Good job . Keep it up.
Very will explain
Thanks for the help , really great session !!
Mam when i add employee name it's gives name as employee obj 1 why..?
awesome tutorial! have been looking a bit over the place. and this covers so much good material!
Thank you so much for this video!!
Very Helpful. Thanks..
great! 🇺🇦
Dude sis, I was gonna watch like a two-hour long video on the rest framework. Bless you.
Thanks 👍
Excellent tutorial! Thank you very much.
Thank you very much Madam ...
Best Ever Explain ! in past no one can explain this type. great explain. Thank you so much.
Very good explanation...thankyou so much
Thank You so much for this tutorial
Brilliantly explained. Well done. cheers !
thanks for explain in easy and great way.
You can support me on Patreon
https://www.patreon.com/parwizforogh
Thanks, much Parviz! Clear explanation and the best videos I have ever seen.
great video i didnt know anything about postman though lol
You are the best man, I'm native in english but I understood everything even. Thank you so much
thank you! exactly what i needed
Perfect!!
There are so many ways for single thing. Which is owesome
documetation explans better than you
Thank you for the tutorial. I appreciate your help!! It made clear some of the details I was missing.
Absolutely loved this tutorial. Thanks a lot!
perfect tutorial!
Very Good Tutorial for the rest-framework.
I reqlly enjoyed the tutorial
Good Job
Time Line:
Start & Setup 4:38
Serializer Introduction 8:59
Creating a serializer 16:26
Using model serializer 29:45
Settingup urls.py 37:59
Excellent tutorial, easy to understand yet very detailed 👍 kudos
Excellent tutorial! Explained in details. Thank you
very good tutorial, a bit slow, watch at 1.25x and enjoy
thanks for the video
So proud watching and learning via an afghan instructor. Tashakur watandar
you did not test the GET request for an entire list while using mixins since it fails, or even POST, Only GET for a single item id works and updating(PUT)
great