JSON files. How is it done?

2022-09-22 Thread Matheus Bon
Hi! I'm lost in a question of my project, I see so many methods on the internet but none work for me (maybe I'm implementing it wrongly) But, I would like to know if you could give me a method to transform my model into a JSON file and then be able to retrieve these JSON files for me to put in

Re: logout_redirect_url not defined

2022-09-22 Thread Sonu
Yeah it will be work. 😊 On Thu, Sep 22, 2022, 8:38 AM Ahmed Abdelmonem wrote: > You should write it this way : *'/login/'* in urls.py should be written* > path('login/', etc) or index instead in your case.* > > > On Thu, Sep 22, 2022 at 3:32 AM abdallah elassaad < > elassaadabdal...@gmai

Re: JSON files. How is it done?

2022-09-22 Thread Thomas Lockhart
This will create a JSON file of the specified name for data from a time range specified in the URL. Re-reading your post, it seems that perhaps you don’t actually want a physical file but rather some JSON data to populate your browser window.Then Django Rest Framework will do what you want afte

Re: JSON files. How is it done?

2022-09-22 Thread Julio Cojom
Hi Matheus! Try to use django-select2 it is easy to set up and works like a charm! It has an advanced and easy implementation, so try first with the easy ones and then if your project needs something heavier, you can refactor the code with a simple couple of lines. https://django-select2.readthe

User Statistics

2022-09-22 Thread Saudi Mostafa
Pls I need help How can I get as an administrator statistics for users and activities -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@g

Database Saving

2022-09-22 Thread Saudi Mostafa
I have a project with simple form ,when submit directed to the list without saving -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@goog

Re: Database Saving

2022-09-22 Thread Walter Randazzo
R u using createview class? Regards, El jue, 22 sept 2022 a las 20:28, Saudi Mostafa () escribió: > I have a project with simple form ,when submit directed to the list > without saving > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. >

Regarding Django forms

2022-09-22 Thread Nishant Sagar
Hey forks, I’m in little dilemma regarding Django forms. I'm working on a project as a backend guy who doesn't know much about CSS and JavaScript so a frontend guy delivered me a form template designed using CSS, however, Django documentation suggests that it's good practice to use Django forms.

Re: Regarding Django forms

2022-09-22 Thread Sebastian Jung
Hello, I would hire on upworks a cheap developer how show you how to implement such thing. This is relative easy when you know how it works Regards Nishant Sagar schrieb am Fr., 23. Sept. 2022, 07:57: > Hey forks, > > I’m in little dilemma regarding Django forms. I'm working on a project as >

Re: Regarding Django forms

2022-09-22 Thread Nishant Sagar
Hey Sebastian, That’s not my concern, all I want to know is, whether is it advisable to implement the form such a way or Django form is a must. If it is advisable why can't we add those in the documentation and if it is not advisable what's the reason behind it? Thanks and regards, Nishant On F