Банковские карты
Pingvin
why makemigratuons if I did not change the links of the models? changed only their verbose_name
Yaroslav
My app working. But when i want using database and content from its my app don't work
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
My app working. But when i want using database and content from its my app don't work
Add 'django.contrib.sites', to installed_apps and also add SITE_ID = 1 to your settings.py file
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
Yaroslav
Good luck ✌
Thank you 🙂
German
Hello everyone how can i do createmodel in massive? like: "smth" : [ {"number":1}, {"number":2}, {"number":3} ] It was example post request to API
Al
Any idea? Please answer my question. thanks before https://stackoverflow.com/questions/70705164/how-to-add-widgets-form-control-in-django-money
Deleted
Hey, guys. I come across a strange problem, Django webpage stuck after sending post request
Deleted
No error and warning shows in Django and JavaScript
Deleted
Just page stuck there
Deleted
and a pop up show: page no responding
Deleted
The whole info from Django console:Watching for file changes with StatReloader Performing system checks... System check identified no issues (0 silenced). You have 4 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): bms. Run 'python manage.py migrate' to apply them. January 14, 2022 - 10:13:25 Django version 2.2.17, using settings 'bookdb.settings' Starting development server at http://0.0.0.0:8000/ Quit the server with CTRL-BREAK. [14/Jan/2022 10:13:29] "GET /material/ HTTP/1.1" 200 63310 <QueryDict: {'csrfmiddlewaretoken': ['dQmFf78sAnZHTWl0xJv8kj1i8NmPPx975kMQEoX1jrkXWCNR3yz3qlQgy9CgvPUA'], 'dropdown_semester': ['January'], 'dropdown_year': ['2021'], 'dropdown_semester_tender': [''], 'dropdown_year_tender': [''], 'Format': ['All'], 'Add_Information': ['Course'], 'discipline': ['Business']}> [14/Jan/2022 10:13:43] "POST /view_material/ HTTP/1.1" 200 32378
Deleted
no error shows, but the page stuck and pop up: page no responsive
Deleted
then the issue is on javascript
The page crash after stuck: status_stack_overflow
Charly
Are you sending too much data to the frontend?
Deleted
Are you sending too much data to the frontend?
Not too much, previously it worked well
Deleted
after I did some change in Django backend, this stack_overflow error happened
Charly
Delete the part in Spanish
Derick
Django rest framework
Minh
django rest framework for API :)
A27
Hey 👋🏻 guys ..... One doubt, in django admin console how to change a field name For example in default User model it has a field - first_name, is it possible to change it's field name?
A27
change it in the model
Yeah it's nice.... But I want to change it's name only on admin console...
Syed
Is there any way in django that admin can add student and then student can login without self registration
Syed
If we want user from particular table like I don't wanna use hash password
Syed
yes, add an user in the django admin and thats it
Suppose I upload CSV file in database and then if record matches from that table then student can login
Syed
Because we have enormous data available in database
Syed
why would you like to use insecure passwords?
And registering one by one student is not possible
Charly
Because we have enormous data available in database
that has nothing to do with using secure passwords
Charly
And registering one by one student is not possible
And why using hashed passwords don't allow to load students in bulk?
Syed
And why using hashed passwords don't allow to load students in bulk?
For example I have many field in student table and if any particular student login only they can see their own record only
Syed
If user name and password matches from that field
ky
How to check old django project version :- Django version :-Python version And how to setup
Charly
If user name and password matches from that field
so your plan is to check in each request if password matches? Why not just using the actual logged user to check it?
Sai
Hi, I have a delete operation on one table after delete; Insert record into another table. Sometimes what happens record is deleted but new record is not inserting.
ky
Ok
Charly
Yes that was my plan plz help
Use the logged user, not its password
Syed
How?
M Latif
Hi friends How i can register one record? And what kind of method i should use? Help me with simple code
Charly
How?
Add a fk to the model to identify the owner, then add a default filter for django admin to show inly its own objetcs
EL
Hi Is it possible to update objects with excule file?
EL
yes
can you explain about it ? I use import_export package for inserting data
EL
you know other ways or package please help me🙏
Syed
Add a fk to the model to identify the owner, then add a default filter for django admin to show inly its own objetcs
Like user will be registered in user table and add user FK in student table ? In this way
Syed
Yes
Charly
User will be registered as any user
Charly
then add the fk in yor model
Anonymous
Hey everyone who have followed tech with Tim Spotify music controller react django tutorial and we're not able to listen to song using web playback Here a repo for the same Link :- https://github.com/Beyonday008/Just-Music The code is there if faced any problem feel free to ask
A27
Change the versbose name then
Yes, it's working on models And in the forms... Verbose not working here
M***
I write an API of file upload it loads a CSV file and updated the data inside the csv to database. Now I need to upload a 14 gb data. How could I do that
M***
Yes it's not working. Because the file is stored in a class temporaryuploadedfile
Evans
Hello I need help with Django sessios
Doragonsureiyā
Hello I need help with Django sessios
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Ranken
Please is it possible to create a new instance of a model every twenty fours to accept data for each day in Django???
Sergey
Hi everyone. I want to know if anyone work with ckeditor. I have one thing i cannot to find. I want know if there is a way to change for preview action. I want to have preview in iframe with some setting (mobile screen for example). So if anyone can help me?
Artem
Hi everyone, I try to use django-mptt, but get error "A node may not be made a child of any of its descendants." Any suggestios?
𝕬𝖒𝖎𝖗-𝕸𝖔𝖍𝖆𝖒𝖒𝖆𝖉
pranav
ho to serialize Enum data field ? for me it is showing object not json serializable
Carlitos
I write an API of file upload it loads a CSV file and updated the data inside the csv to database. Now I need to upload a 14 gb data. How could I do that
I would compress the csv in gzip or similar, if it's already compressed, you should try to develop an upload process in chunks with the ability to resume, you will need to handle authentication and sessions to do it.
Gaurav
Hello can I have a Django project and I want to deploy it on AWS. Can somebody please tell me which service I should use. I am confused between EC2 and S3 services. Like if I use EC2 then do I have to use S3 or not