Ecoal
I have a question tho, do react and django go well together
Ecoal
I want to use them to build personal projects in the future
Ecoal
Django, the python web frame work
Ecoal
I'll use them then, thanks
Mirco
😁
Ecoal
hmmmm, ok then
Ecoal
Yh
Mirco
!yw
Doragonsureiyā
You're welcome! 😊
Ecoal
U asked that's why lol ☺️
Ecoal
Thanks
Melvin
I am working on an api for a buy and sell app for books I need an "add to wishlist" feature. How to do that?
Melvin
So a wishlist instance for each user right?
Mirco
Yes
Melvin
Okay thanks
Maz
Create a Wishlist model and add items to it
I think he meant how to link wishlist items to his list of regular user items.
Mirco
Wishlist can have multiple items
Mirco
I think he meant how to link wishlist items to his list of regular user items.
I understood what he meant and I answered accordingly 😁
Melvin
For each user I need to be able to display their wishlist
Maz
Yes
User supplies his favorite books?.
Mirco
User -> Wishlist -> multiple Items
Mirco
Based on logged in user, you get his wishlist
Maz
User supplies his favorite books?.
Or is it system-generated?
Maz
Yes
Ah, in this case just do what @pyflare suggested.
Melvin
User has the option to add a book to his/her wishlist
Mirco
User has a Wishlist Wishlist has many items
Mirco
I think is straightforward
Maz
User has the option to add a book to his/her wishlist
Foreign keys. Play around with those and you're set.
Mirco
Okay
It's 10 mins I give you the same answer 😂
Melvin
Will look into that Thanks for the suggestions
Mirco
👍🏻
Dima🍑
Installed mysqlclient, but when migrating it asks "Did you install mysqlclient?"
Anonymous
How can delete post after 12 months automatically
Anonymous
Thank you 💙💙
Shaun
Did i get a warning?
Anonymous
When I load in local server all image is showing
Anonymous
But when I host it some image is not displaying a static images even there is a image
Sheshadri
But when I host it some image is not displaying a static images even there is a image
on servers the static and media are served differently ...
Sheshadri
do some research based of what type of servers you are using .... You have to set paths in either Nginx or Apache to serve the static and media files
Wang
i was confused. what's different between instance namespace and app_name
Anonymous
It's possible to use crispy form more than once in website. For example I used crispy form for home page and contact page.but it's getting error.
foscraft
Am having problems with hyperlinks
foscraft
Anybody that can help?
Anonymous
How to deploy Django project on server and make site live free
Anonymous
?
Anonymous
Try heroko
It has free custom Domain?
N
I think u will get domain like this Example@herokoapp.com
N
If u want custom u have pro package
Anonymous
Is it possible to create a range of possible values in the Cassandra table column?
M3FoOoS
How can I fetch forms via ajax
Doragonsureiyā
How can I fetch forms via ajax
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
Ghorz
no but you can see every day some one bing hacked by cracker
Forget about crackers for the now. Focus on your project, get a working implementation then think of crackers later. Django inbuilt security should be enough for your pet project. If you want extra security, work with permission. Maybe someday implement your own encryption.
Anonymous
I am facing problem with images. When I fetch image from database show on html page get crashed
Anonymous
how i revover it
Anonymous
Guys when I try to deploy my app on heroku it's showing application error there ..
Anonymous
Plzz someone help me
iLya
Can anybody give link to example of complicated drf-project?
Gil
hi!! Another of DRF: Anyone knows if Django Rest Framework is a well solution for a non CRUD operations? I need to add operations like messages open door, close windows... And I don't know if I'm wasting the time trying to integrate it. I don't know if the best way is a handmade http api ?
Mirco
I can have API for read only and not full CRUD
iLya
Instagram is enough ?
Their code is open?