Mirco
Yeah maybe
But you are free to do whatever you want so happy chatting
محمد دلشاد
Believe or not , if you wanna understand what is really needed buy a book and study In this way is just another way of "copy" and "pasting"
no after explaining the models i will definately cover the logics that why we are using two tables and field like this But i do agree you that u should learn from books this will help alot
Ghorz
Understand the language indept before framework, else you'll hit a wall. Do some study on data structure and algorithm. It will do you great good.
Anonymous
But can someone tell how to dm
محمد دلشاد
But can someone tell how to dm
man just click on persons name u ll see his profile and there will be an option for send message LOL
Ghorz
Brush up on database theory. Datatypes You'll be good to go. Lastly do not ask for help. Debug until you catch fever. Then ask for help. Stackoverflow your only hope. Else ask the group. 😊
محمد دلشاد
Brush up on database theory. Datatypes You'll be good to go. Lastly do not ask for help. Debug until you catch fever. Then ask for help. Stackoverflow your only hope. Else ask the group. 😊
also io needed some help in cart but i wanted to build it for anonymous users too so i have to go with js localstorage or browser cookie guide me for some resources for this
Ghorz
also io needed some help in cart but i wanted to build it for anonymous users too so i have to go with js localstorage or browser cookie guide me for some resources for this
You should be intermediate JS programmer. Before building cart for anonymous users, perfect your understanding of the tutorial resources you're using. Localstorage stores item on the browser, once cache and cookies cleared all data go into oblivion. Well you'll extensively write some js functionality. Since it's anonymous users, you can write pure django api the call with Ajax requests, get result, do the logic store in Localstorage. On order completion retrieve the data do x.y.z process and clear Localstorage
Ghorz
You can achieve this with vanilla js
PeeKay
shared host? then you can't
Yes its shared host.. wow
bikrant
Hi do you guys share time for programming or just project development?
Tony Stark
https://stackoverflow.com/questions/62021047/how-to-manage-hierarchical-categories-in-django?noredirect=1#comment109705190_62021047 Can anyone help me with this?
Anonymous
What is the difference between: class Person(models.Model): name = models.CharField(max_length=128) def __str__(self): return self.name and: class Person(models.Model): name = models.CharField(max_length=128) def __str__(self): return u'%s' % (self.name) Which one is the correct one?
Стас
@Tim equals
Manuel
someone has done a youtube downloader
Manuel
with pytube
Manuel
pytube3
Godspower
Anyone know where I can get a good tutorial, I’m tryna build an e-commerce website using Django
Anonymous
I want to fetch one data at a time from database.
Anonymous
if i use for loop i am getting all the data in loop.
Anonymous
If anyone can help
Kamlesh
Table. Objects.filter(user=request.user)
Kamlesh
user1=request.Post['username'] m= table. objects.get(username=user1) Data=m.field
Kamlesh
Worked..??
Mr.m
How to make registration and login with authentic from database
Sdm
Anyone pls share some good tutorial link with react and django #needhelp
Doragonsureiyā
Anyone pls share some good tutorial link with react and django #needhelp
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Doragonsureiyā
Anyone pls share some good tutorial link with react and django #needhelp
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box write down the same words you asked here Step 4: Read the firsts results
Varun
My registered user data is not getting saved in db....can anyone plz help me with that...i have also used method.request==POST concept
Anonymous
Help me please my questions is navbar is same for every page so how i active it with each page
Anonymous
I want to active effect on each page dont suggest bootstrap
cj
Help me please my questions is navbar is same for every page so how i active it with each page
use a base.html template and extend it on all the pages you want to apply common tags
Anonymous
For each page
cj
I want active effect
use conditionals and checkers 🤷🏻‍♂️ use them from views to templates
cj
Please type it
wait... what?
Ankush
Can anyone help me with pytest please
Doragonsureiyā
Can anyone help me with pytest please
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 60k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Ankush
Im creating a user in setUp() method but im unable to get token out of this ,and when i get response it Shows user doesn't exist..whys. That
Romila
Hi I'm getting Value Error as -httpresponse didn't send response instead it send none
Romila
I have done form validation also
Amit
*Your code
Romila
Ok
A
Hi Everybody, I'm trying to add data to my current serializer but it's not working, can someone help. https://stackoverflow.com/questions/62036676/update-serializer-data-in-django
Ankush
Doez anyone know how to save an user object while creating in setUp method ,cause when i try to fetch the object in other method it show user Doesnt exist
Omar
How to achieve logout functionality, I am using JWT
If you use JWT on its own, you can’t really logout, because there is no session on the server JWT has an expiration time. My approach on this is keeping a blacklist of JWT on cache (redis)
Anirudh Reddy🇮🇳
I want django video lecture please msg if you have
Doragonsureiyā
I want django video lecture please msg if you have
Check out PythonRes, a channel for Python resources (links to help you out).
Shreehari
Hey guys im working on an app where i want to get list of price history of a particular product. eg: there's a product called machine. Price for this was updated many times. I want to get list of the each updated prices with date and time. How should my approach to this be ?
Prakash
I am creating two database for two different apps in single project When i run migrate All tables are creating in default db
Prakash
DATABASE_ROUTERS = ['workflows.workflow_dbrouter.WorkflowsDBRouter', ] DATABASE_APPS_MAPPING = {'erp': 'default', 'workflows': 'db_workflow'} DATABASES = { 'db_workflow': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'wf.sqlite3'), }, 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'django.sqlite3'), }, }
Артур
Hello! Share your opinion, pls. I need to allow writing to a specific table during the session each time. The project is large and appending .using (db_name) seems like a problem. db_name depends on the username. I think it's worth overriding the standard models.Model, where I would use DB_NAME as a class variable. In methods where using is used, assign using = DB_NAME. Then call the parent method. And assign DB_NAME in wsgi middleware. How good is this idea?
Anshul
Error: Could not find or load main class GUIdriver
Anshul
can anybody tell me about this error?
Anshul
this is the code in py
Doragonsureiyā
To share code or error tracebacks please use an online pasting service, here is a list of suggested sites: - https://del.dog - https://dpaste.org - https://linkode.org - https://hastebin.com - https://bin.kv2.dev
Anonymous
Is this related to Django?🤔🤔
Anshul
No!!
Anshul
its related to GUIdriver openCV
Bral Bral
Hey! How i can retrieve django user password from user object instead of sha-password ?