Re: Migrated code is not working in Django

2020-02-07 Thread DC
Hi ram, What’s is not working ? Like static files? Could you share what error you are facing? Regards, d On Sat, 8 Feb 2020 at 1:25 PM, Ram wrote: > Hi, > > When we have new code drop from development, we copy the files manually to > the hosting server running in Digital Ocean droplet. Then

[import pyzbar.pyzbar as pyzbar] raises ImportError('Unable to find zbar shared library')

2019-07-12 Thread SUDHAN DC
Hello guys, I am very new in the Django and python and I am trying to write a barcode-reader code. my requirements.txt file is as follows Django>=2.2,<3.0 psycopg2>=2.7,<3.0 Pillow>=6.1.0 pyzbar==0.1.8 numpy==1.16.4 django-sslserver==0.20 but when I try to import the prybar it raises an

redirect to change form page from admin action intermediate page

2015-11-04 Thread dc
I am trying to add admin action 'download_selected'. When the action is selected, it redirects to an intermediate page. When the user selects a file type and clicks on 'download', it downloads the file and stays on that page. How do I redirect it back to change form page it happens for

Re: return values from static files to django admin

2015-11-02 Thread dc
vascript if you don't use a lot of ajax requests. I > would check django-smart-selects and see if you could use that? > > Regards, > > Andréas > > 2015-11-02 15:57 GMT+01:00 dc <ana...@vt.edu >: > >> Any lead will be extremely helpful. I am still stuck. :( >&

Re: return values from static files to django admin

2015-11-02 Thread dc
Any lead will be extremely helpful. I am still stuck. :( On Thursday, October 29, 2015 at 11:40:32 PM UTC-4, dc wrote: > > I have declared a charfield 'choice_text' in one of my models. I want to > convert it to a dropdown box in django admin. The choices in the dropdown > list de

Re: return values from static files to django admin

2015-10-30 Thread dc
bump!! On Thursday, October 29, 2015 at 11:40:32 PM UTC-4, dc wrote: > > I have declared a charfield 'choice_text' in one of my models. I want to > convert it to a dropdown box in django admin. The choices in the dropdown > list depend on user input to a textbox defined in another

return values from static files to django admin

2015-10-29 Thread dc
I have declared a charfield 'choice_text' in one of my models. I want to convert it to a dropdown box in django admin. The choices in the dropdown list depend on user input to a textbox defined in another model class. I have a javascript (declared as Media class inside a ModelAdmin class) that

Re: design decision tree survey using django admin interface

2015-07-16 Thread dc
Thanks. I'll look into it. On Wednesday, July 15, 2015 at 12:18:05 AM UTC-4, luisza14 wrote: > > I know it is not the answer of your question but for your survey design it > is important that you see this links. > > https://github.com/chrisglass/django_polymorphic >

Re: Upgrade to django 1.7- ImproperlyConfigured -Tastypie label duplicate? help

2015-05-30 Thread dc
Were you able to solve the problem @amarshall? I have the exact same error, do let me know please! On Tuesday, March 31, 2015 at 8:04:23 PM UTC+5:30, Filipe Ximenes wrote: > > Thats strange. > Are you using pip to install dependencies? Try uninstalling everything and > reinstalling again. >

Re: DateTimeField(auto_now_add=True) and admin page

2011-12-10 Thread DC
, > > You can display entry_date on admin by using readonly attribute of > admin. > Set readonly = (entry_date,) this will do your task, but You cannot > modify this on admin. > > Thanks > Amit > > On Dec 9, 7:46 pm, DC <davor.ceng...@gmail.com> wrote: > >

DateTimeField(auto_now_add=True) and admin page

2011-12-09 Thread DC
, without creating my custom admin? I couldn't find anything useful in the archives. Thanks, DC, Django novice The error msg: ImproperlyConfigured at /admin/ecopoint/ecopoint/3/ 'EcoPointAdmin.fieldsets[2][1]['fields']' refers to field 'entry_date' that is missing from the form. -- You received