Questions tagged as 'django'

1
answer

Notification system

I have this model: and I want the system whenever a user creates an event that notifies the other users, the event created and the name of the user who created it. I do not see how to start implementing, I am using the version of pyt...
asked by 04.10.2018 / 04:08
0
answers

Permissions in the views of django admin

I am doing a web based system for several transport companies in django the issue is that it must be multi user but I am having a problem to display the data fix in the image that I put all good that I display the data that way but this...
asked by 29.09.2018 / 21:22
0
answers

How to control the contents of my table in reportlab?

What I want to say with my question is that I have a table, which if I add more data the table is growing up, and I would like the new aggregate data to be generated down, here I leave my code so that you can understand me better. Views.py...
asked by 07.10.2018 / 02:02
1
answer

Select an option in a combobox and not be able to select it again in the next

I'm with the final project, and I'm stuck in one of my forms. I have 4 combobox with different options to select. What I'm looking for is that, if in a combobox I select one of the options, it can not be selected in any of the others, to avoid r...
asked by 27.09.2018 / 11:24
0
answers

Can I serve a web page directly with python and django on a VPS?

I have seen that everyone uses web pages with an NGINX or APACHE instead of serving the application directly with DJANGO, however I can not find the vulnerabilities that could be applied to attacks if you directly use the web with this Framework...
asked by 27.09.2018 / 16:30
0
answers

Store documents (jpg, pdf, doc, xls, etc) in DJango database

Hello I want to store documents in the database using DJango, a plugin or method that allows me to convert an image or document to binary to store it in a text field in a database and then can be deciphered to display it again.     
asked by 27.09.2018 / 17:14
0
answers

Show specific data of a Postgresql Database in HTML

I hope you can help me, as part of my project in Django, I must show specific data of my table which is in BD Postgresql, but I do not know how to do it and the truth is that with the Tutorials I get too involved. My code is as follows: base.Htm...
asked by 27.09.2018 / 16:20
0
answers

Validation of id with several status

I have a form for a warehouse in which I create several articles but each one can have several status, which recommend me to create several tables for the different status? or if you can allow me in the same table to have the product so many sta...
asked by 24.09.2018 / 21:23
0
answers

Problem uploading Image with Django Rest Framework and Xamarin Forms

In the ViewModel I get the image in an array of bytes and add it to a MultipartDataContent. byte[] imageArray = null; ByteArrayContent imageStream= null; if (this.file != null) { imageArray =...
asked by 01.10.2018 / 20:51
0
answers

Change admin by default of django but without redirecting the models to the default admin

I have a custom administrator, but when I click on a model, it redirects me to the default administrator django, so it would not make sense to do a custom admin, thanks for your collaboration. This is my custom admin is in myapp / admin.py, i...
asked by 24.09.2018 / 23:29