Vipin
Ok
Vipin
Ok
Artem
Hi, guys, searching for an answer to my question:
I have react/django application and i want be able to get session key, after request from my react page to django backend, but everytime it is None, even i do session.save() or create()
How to deal with it?
I will reward you if you can help me
Arnol
Hello guys, I would like to ask if someone has already integrated Jitsi meet with Django?
پدرام
How install django on vscode?
پدرام
Charly
Why?
because you don't need to install it on it, install it on your python installation
پدرام
Charly
پدرام
Still the same
I want mixture django white html and css
Using vs code
Charly
Doragonsureiyā
Please send me a link
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Valter
Hello all, I'm trying create a message that need to link with task table, to achieve that as I'm trying save the task id into the message, so how can I store Tasks ID and save in MensageTaskID?
Valter
i'm trying this task_id = get_object_or_404(Tasks, pk=id) that return error int() argument must be a string, a bytes-like object or a number, not 'builtin_function_or_method'
Alex
Alex
Valter
thank you https://dpaste.org/iaHT
Valter
no, this is my message form, i mixed a litle bit as it is similar in portugues
Alex
thank you https://dpaste.org/iaHT
So I guess
def MensageView(request, *args, **kwargs):
task_id = get_object_or_404(Tasks, pk=id)
You forgot to add id in your view signature. By default id is a python builtin function to get object's internal id.
Alex
like def MensageView(request, id, *args)
Alex
or get it directly from the args or kwargs, depending on your url/path definition
Valter
I have tryied it before and now
Valter
MensageView() missing 1 required positional argument: 'id'
Alex
Valter
I see, how can I get that from URL and store on this message?
Alex
Valter
Ok, I have that URL but it's not loading the id in my view, how can I get Id from the URL?
Alex
Valter
path('detail/<int:id>/', tasks_detail_view, name='tasks-detail'),
Valter
It's because my goal is to send a message related to this task detal
Valter
Thank you, let me try
Alex
So if it doesn't work, then mistake is somewhere in another place
Valter
No worries, I really appreciate your help.
LmST
where should i place serializers.py in django?
cj
LmST
thanks. i just found that "snippets directory" in documentation and got confused.
پدرام
When installation django I got a error says
Manage.py no such file or directory
What should i do?
Doragonsureiyā
When installation django I got a error says
Manage.py no such file or directory
What should i do?
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
پدرام
XCabs 0404115581
Can anyone help me with my code?
XCabs 0404115581
Hello everyone, I am new in this group
XCabs 0404115581
I have rendered Jsonresponse and values added in html by js but not getting foriegn key value only getting ID
XCabs 0404115581
Please suggest how I can resolve this
XCabs 0404115581
Anyone available?
Doragonsureiyā
Anyone available?
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work.
Have a nice day 😊
Jaykumar
Hello everyone
How should I accept thumb impression and display it
Using Mantra msf1000 device
Anonymous
How to check AbstractBaseUser permission checked ?
Anonymous
AbstractBaseUser Permision does not work in my project
Muxtor
AbstractBaseUser Permision does not work in my project
class User(AbstractBaseUser, PermissionsMixin):
username = models.CharField(max_length=50, blank=True, null=True)
is_staff = models.BooleanField(default=False)
is_superuser = models.BooleanField(default=False)
Be happy😊
Sir,how can we create a history table of a user data.
To store updated details include old and new data
Sopan
not sure about current state... check - https://bitbucket.org/emacsway/django-versioning/src/master/
Sopan
for versioning Django Models
Sopan
i.e. creating history of models
ѕнυĸυralι
i'm understand to this erorr — > 'QuerySet' object has no attribute '_meta'
Alex
Be happy😊
Alex
Be happy😊
Alex
Then how?
for example https://github.com/jazzband/django-simple-history
Be happy😊
Alex
Then how?
here's one more similar https://github.com/etianen/django-reversion
mohamad
hey.. i want to use query in founction( in views.py) for a table in a database i have when i put "get" how can i do this?
Anonymous
Anonymous
mohamad