Agent Q
ohh 😯 im new to programming
The 3 backticks is a markdown feature to denote that its a code block.
Like this is wrapped in 3 backticks (`)
zax4r0
i did it 🤣
Shubham
in backtics
Mirco
!paste
Doragonsureiyā
Rule 5️⃣: To share code or error tracebacks, use an online pasting service like:
- https://del.dog
- https://dpaste.org
- https://linkode.org
- https://hastebin.com
- https://bin.kv2.dev
If you posted a wall of text, go back and delete it.
zax4r0
now
Shubham
you got it.
zax4r0
yeee 🥳
Javad
You can concatenate quotes.
Thank you.
That's ok.
Correct form is:
<script> let base_url="{{baseurl.0.0}}" </script>
Shubham
Kaushal
Can anyone tell me how to create an sign up and login page for a website
Shubham
although you can create your own custom function for the same.
You can also install package for the
same, django-allauth
zax4r0
Ibra
Hello, people! I have a question about how to properly organize the paginated loading of a dataset (in my case, the attributes of some objects). Is it possible to make it more effective or better? That is, for example, to divide the sending on the server and send it in parts to the server? At the moment, the requests are implemented on the front, then the front gets a link to the next page.
Shubham
Yes you can import paginator class for the same concern. for more detail, django docs is the best place.
Shubham
https://docs.djangoproject.com/en/3.2/topics/pagination/
IND_
django 3.2 launched
zax4r0
can anyone suggest me a django tutorial in hindi 😅
Shubham
Hindi me bhai tutorial to mil jayega, but aap uspar depend nai hosakte, sirf basics hi milenge
Shubham
I would suggest to search CFE channel
Anoop Pratap
zax4r0
zax4r0
Shubham
for small projects, django ORM and MVT is good, when you come to scale, then you need more than django features
Shubham
Specially to connect multiple databases, run Raw sql queries, adding other frameworks with django like Pandas, numpy.
Shubham
you should start with a blog website.
Shubham
Search, denis ivy 's channle
zax4r0
Shubham
Complete his both project, CRUD, and blog.
Shubham
you will get much idea, how all django stuff works.
Shubham
then come to advance.
zax4r0
ohh thanks ☺️
Shubham
best of luck.
zax4r0
Me : i wil make a blog using Angular + django
also me : but wait u don't Know python , django ,and ts
also me : well hmm 😂😂😂😅🤪
Shubham
zax4r0
Shubham
zax4r0
sure
i dont have collage so im free 20hrs in day 😂
useless_vevo
Go and do it
Shubham
sure, then I would suggest to do what I have mentioned earlier, it is the best time for practice though,
useless_vevo
Stop mememing and start working
useless_vevo
Sad
Anonymous
goo
Neo
i have a field in all the models last_modified_datetime and i want to save the details whenever any updates happened on any models to a separate model called logs, how can i achieve this?
Shubham
Neo
Shubham
then you can import logger, our create abstract class for the same to same,
After that use signals for the same like post_save signal, to track changes.
Zey
can we check that particular variable is present in sessions or not
Zey
if var1 in request.sessions like this
Vinod
Zey
ok
Shubham
use debug mode for the same.
Shubham
Zey
ok thanks
s@123
hii i am facing problem, dropdown menu not working, when i add it in base.html anybody help me
s@123
in navbar
Skv
I want to learn django framework is there any site where can i learn it for free
shashikant
I have views in my app directory,and when did I import that views typing...from app_name.views import view_name ...I am getting the error like Import could not be resolved
shashikant
i am getting:ModuleNotFoundError: No module named 'Basic.description_api'
s@123
jay
shashikant
i have tried this ..but another error ..usually this does not happen
jay
shashikant
cannot import view from project_name.app_name.....module import error
jay
shashikant
views is in app directory and url is in project directory
jay
if you want to use app's views you should use include()
something like this
path('flights/', include('flights.urls')),
jay
and include(app_name.url) should contain the app's view
Anonymous
Hi friends
i can't load image in js file on Django!
why?