Re: Integrating Java(web servlets) into django as front end.

2018-03-25 Thread Cictani
Models from Django? That won't work. You should recreate the functionality of the servlet in Django. -- 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-use

Re: How to undisplay the field with empty value in django admin?

2018-03-25 Thread Cictani
Hi, yes you can create a new python file in your app folder in order to run it you can enter django shell: python manage.py shell Let's say your app is called 'chem' and your file is called 'helpers.py' in there you have defined a function called: 'convert_reactions_meta'. Then you can run i

Re: How to undisplay the field with empty value in django admin?

2018-03-25 Thread shawnmhy
Dear Cictani: Thank you for your suggestion. But how I write the script? I mean do I need to write another py file in my project? And still, how do I deal with the database of stoichiometrymeta class? Since there is no table corresponding to this class in my database, so I think I can't run the

Re: Integrating Java(web servlets) into django as front end.

2018-03-25 Thread prince gosavi
I want to use the data from the models and then display it using the html from servlet. On Monday, March 26, 2018 at 12:54:54 AM UTC+5:30, Cictani wrote: > > And they should be displayed as they are generated or do you need a > different design? > -- You received this message because you are s

Re: django development env is using a ton of disk space and super slow

2018-03-25 Thread Alexander Joseph
It was Malwarebytes. I had both installed concurrently before but apparently they dont work well together now. I uninistalled Malwarebytes and its working fine now On Sunday, March 25, 2018 at 7:36:19 AM UTC-6, Alexander Joseph wrote: > > I recently setup a django development environment at ho

Re: Integrating Java(web servlets) into django as front end.

2018-03-25 Thread Cictani
And they should be displayed as they are generated or do you need a different design? -- 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

Re: Integrating Java(web servlets) into django as front end.

2018-03-25 Thread prince gosavi
They return html pages as ouput On Monday, March 26, 2018 at 12:42:59 AM UTC+5:30, Cictani wrote: > > What do these servlet output? Html, Json, xml? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

Re: Integrating Java(web servlets) into django as front end.

2018-03-25 Thread Cictani
What do these servlet output? Html, Json, xml? -- 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...@googlegroups.com. To post to this group,

Integrating Java(web servlets) into django as front end.

2018-03-25 Thread prince gosavi
Hi, I am working on a project where the framework used is django and most of the frontend is done in java. I need a way to integrate both of them so that my system works. Converting java code to python is not an option.As I do not have time to start learning Java now. Any help is appreciated.

Re: Making django.contrib.admin compatible with Bootstrap4?

2018-03-25 Thread Babatunde Akinyanmi
Hi Vincent, I'm not sure what you mean by "compatible". If you are asking if the Admin app can be styled with the bootstrap4, the answer is yes. There are many third party apps that do this for you and you can find them with a simple Google search. If you are asking if django Admin app is going t

Re: Django deployment

2018-03-25 Thread Derek Zeng
You may want to check out http://www.fabfile.org It's a fairly popular deployment tool for Python projects. It doesn't really matter what your local dev environment, but for the server it's relatively easier if it's Linux. -- You received this message because you are subscribed to the Google G

Making django.contrib.admin compatible with Bootstrap4?

2018-03-25 Thread Vincent Ng
Are there any efforts right now to make Django Admin compatible with Bootstrap4? It's one of the most popular css frameworks out there and I think a lot of developers will find this useful. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

How to combine a custom date and time field in Django?

2018-03-25 Thread Nirmal Raghavan
I'm looking for a way to combine a custom date value and a time field in django. My model only contains a time field. Now I have to annotate a new field combining a custom date and the time field. I thought the following code will slve my problem, but it only gives the date value. TimeField is

Re: Django channels 2 and data binding

2018-03-25 Thread Andrew Godwin
You can write most of the data binding functionality yourself in Channels 2 by adding group send methods to model save methods, but if Channels 1 is working for you right now, I wouldn't move until you're forced to. Andrew On Sat, Mar 24, 2018 at 11:07 PM, Fabio Andrés García Sánchez < fabio.garc

django development env is using a ton of disk space and super slow

2018-03-25 Thread Alexander Joseph
I recently setup a django development environment at home on Windows the same way I've done 100 times and for some reason it is ridiculously slow and uses close to 100% of the disk space when I run the server in the command line. I dont know what could be causing it. Has anyone else had this pr

migrate doesnt work

2018-03-25 Thread nauj p. s.
Hi! I'm starting to use Django 1.8 with the firebird backend. I have created my models.py with inspectdb, so I have the database already created. Put the primary keys in the models. When I try to do migrate django crashes with a exception that says conversion error of a string, seems a curre

Updating TimeField in forms/formsets returns value without microseconds

2018-03-25 Thread Rafał Szymczuk
I have problem with updating TimeField in my models - when I want to edit objects using forms/formsets the input field on my site is always cutting microseconds. I made ex. class with TimeField: class Participant(models.Model): surname = models.CharField(max_length = 256) name = models.C

Re: Advertising a new Django open source project?

2018-03-25 Thread Etienne Robillard
Hi Simon, You can also consider setting up a official website for your project. Regards, Etienne Le 2018-03-24 à 15:13, 'Simon Connah' via Django users a écrit : Hi, First of all, I am sorry because I know that this is off-topic but I couldn't think of a better place to ask the question.