how to make django tempory list? [closed] - python

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I want to know that is it have way to make a tempory list that it can add by input field and not save to server until click some button like add to cart button. I will use this for POS system.!
[example similar to this]
(https://i.stack.imgur.com/wEvKf.jpg)

Django comes with Form Wizard which might helps you.
You can use sessions or cookies to store data, both methods have a default WizardView that takes care of storing the data for you.

Related

how to attach database to css form? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 days ago.
Improve this question
I am new to programming and want to create a form on my website. I want that when the user starts typing the name of the school/college/university, etc., prompts appear in the window with the names of these institutions, with a choice (click on them and thereby insert them into the form.
I am hope for your help
I have no idea how to do this with CSS or programming languages

Django select and delete posts [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am making a blog based on Django on guides. I have a list of posts that you can change and delete. How to make it possible to select multiple posts and delete? I don't even know which side to approach the problem. All i need is are ways to complete this problem. I want to complete it by myself, but i need some advices about the ways how to do it
there are lots of way to do that and it's usually a combination of frontend and backend, but in Django side you can filter rows (with lets say ids) and bulk delete them like this:
Post.objects.filter(id__in=(1, 2, 3, ...)).delete()
in frontend you should figure out a way to pass ids you want as a list to your Django view/api.

Display image in dropdown list in django [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I'm currently working on a project and my task is to build a feature for users to rate different countries in a dropdown list.
How to add a flag beside the name of the country in drop downlist?
The easiest solution is probably to add the corresponding flag emojis to your country names.
If that doesn't fit your requirements, you will have to integrate a JavaScript library, e.g. jQuery UI.

Scrapy - best way to export/store items in REST API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
What is the best way to export/store items in REST API ?
I want send scraped items to REST API, where should I put my
requests.post(...) ? Any examples ?
Thanks Rubber duck debugging, propably simple pipeline with process_item() method, earlier I thought only about Exporters and FeedStorage

How to edit record in google datastore in AppEngine? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I was create one app which have model and it was created but i facing problem how to edit data in google data store using python or Django. Please Help me.
Fetch the record you want to edit (by key , id or any filter) , modify the field you want to edit and then put() it.

Categories

Resources