Rony
Maybe it was just a typo into the book
But didn’t you solve it already? And if it is a typo how can I fix it? It seems like if I have to make productttags.json file with the desired database content I have to follow this. Will you help me on that please?? The next line should be in the terminal as > main/fixtures/product tags.json
Rony
You don't have to type the \ at the end of the command
If I don’t type it is showing the database content. But the book is showing that in the terminal the next line should be like >main/fixtures/producttags.json. And the next process is loaddata from that json file.
Rony
How can the json file will be created then? Should I have to create it manually? Then how can it be populated with the data?
Mirco
If you are not sure, just check Django official docs about the command dumpdata
Rony
If you are not sure, just check Django official docs about the command dumpdata
I checked already and there is no similar thing about this ‘\ ‘ thing and if I use this thing, the next line won’t show main\fixtures\producttags.json. Is there any process to create that json file with command or should I create it manually and copy the data from the terminal?
Rony
You can specify --output and the file name
I think I solve it. I used >producttags.json then it is created with desired data. Thanx because chatting with you has given me the idea. Still should I have to follow this book? Though the book has pretty much good stuffs, the code doesn’t work with Django 3.1 most of the time. This is the second fault I figure out
Jor
Hi everyone, I have been working with Streamlit for a few days and i really liked it, so i thought about routing this server thru Django (or some magic i don't possess) so i can use the auth system among others... Does anyone walked this path before for some tips? I'm just getting started
Qwerty
Hi everyone, can anyone please tell me how to populate my Django database if I am given a .SQL file with tables and data
Jor
https://docs.djangoproject.com/en/3.0/howto/legacy-databases/ i never did it btw
Dr. Anurag
Hello — We are using Django and Django Channels to build Real time chat backend for our application.. Does anyone has experience in building scalable Real Time 1on1 messaging with Django. Will Channels be scalable and handle high loads ???
Dr. Anurag
Looking forward to insightful feedback
Jor
thanks, i'll check it out
Ghorz
Hi everyone, can anyone please tell me how to populate my Django database if I am given a .SQL file with tables and data
Read the table structure, Make your model same. Use terminal to login to the database then run the query to insert the items or use php my admin
Ghorz
Looking forward to insightful feedback
Channel is great. Check out socket.io
Daniel
im new to django
Daniel
any best tutorial on django
sahil chhikara
Doragonsureiyā
any best tutorial on django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Daniel
thanks im trying
Nirupam
Hi all, is there any code reference to build registration and login for rest framework????
aashu
I have fully functional django ebook store website ready. Please can anyone tell me how could I sell it making a profit.
Kronos
Usually people make webapps for some particular idea that they have ...and not make an app and think what to use it for..
Shanu
Pleas suggest some best tutorials for numpy pandas and matplotlib
Anonymous
Pleas suggest some best tutorials for numpy pandas and matplotlib
U can see Durgasoft Durga's Django tutorials on youtube ,its actually so much in detail ,everything he has explained in so much detail and way of explaining is great
Michael
Can someone please help or explain how I can integrate coinbase into my website......finding it so difficult I was able to set up PayPal and stripe
Jabir
Hi using django_import_export is there any way i can manipulate the csv file on import before updating it to the db by manipulate i mean i need to replace some values in csv thanks in advance
Gk
I have created a website using function based views , is it good approach ?
Gk
Please reply will surely help in my confidence
Gk
Thanks in advance
Anonymous
Hi guys, well am going to be needing you guys help a lot, I need to learn django and use it as my website's back-end in 2 weeks (I know it's kind of not possible but I would still try).
Roman
Hi guys , I have a service with the posts where user set phone number and email. I want prevent them from scrappers . Is there any lib that allows some kind IP limit ?
Anonymous
Hello Guys, I need help, is there any Text editor plugin for a blog post? which works perfectly???
Anonymous
Thanks 😍
Serg1408
Hello. Can you tell me, please, where to find chess pgn viewer for django website?
Sam
Hello,I am learning django and react.js but i am not able to make cool projects. Can anyone send me a link of a cool project built with React.js and django. It can help me to understand complete project workflow in a better way. Thank you in advance
Anonymous
I'm also looking for some Django and React Source codes
sravan
Is it a good practice to push the local migration files to git and server ?
sravan
Yes, it's mandatory
But makemigration will create all necessary migration file in the server...
Mirco
But makemigration will create all necessary migration file in the server...
Django won't work without migration files You will always see only the initial ones already provided by default when you install Django
Mirco
Let's say you add a model and create migration locally , how do you think on the server you will have the same model you created locally ?
sravan
Let's say you add a model and create migration locally , how do you think on the server you will have the same model you created locally ?
I can run makemigration comment in the server so that it will create all the migration file from new model that I created in model.py
Mirco
And not the best practice
Sam
Thank you😊. But actually I have already tried this project before
Deepak
I have one question like I was watching django tutorial where post method was saving content without mentioning any url in action while in delete method action tag containinh url. Why is it?
the_programmer
i think int() is casting function and here we need to to pass parameter. But int is function address. So int is correct
It's a class. All the c class written in c has lower case. You can check with help(int)
Saurabh
Thank you😊. But actually I have already tried this project before
Ok bro, if i will find any other resources, then i will share with u😊
Dadakhon
Hi all! How can I set datetime value in html input when updating some object. I have a date on the database but cant display on html.
Dadakhon
<input type="datetime-local" class="form-control" name="end_date" value="{{ notification.end_date }}" required>
Ayush
hello everyone... can i develope django project using eclipse IDE?
Maz
hello everyone... can i develope django project using eclipse IDE?
You can even use Vim if you know what you're doing 😄 It's just a tool, so yes. With the right plugins.
Shubham
I want to render the variables which name has plans in index. Html please help me out
Gaurav
Any django study material for beginners ?
@@
New to Django? here is some resources to start Official docs tutorial Django Girls simpleisbetterthancomplex.com Mozilla Developer Network #videos thenewboston sentdex #books Django by Example Tango with Django Two Scoops of Django Django ORM Cookbook
Gaurav
Thanks
Sourav
In django rest framework, I want to perform get operation but not with single id but want to send list of ids as query params....what could be the way i can do this?
Rajesh
Any django study material for beginners ?
Dennishivy and coray Schaefer youtube channel
Anonymous
Hello, need help how can I search a query from multi models, like in my project I have Shopping app and blog app, now I want to use same search bar for both, how could possible can anyone share code or logic please 🙏😍
Gaurav
Saurabh
Go through this bro, u will get it