Re: It is impossible to add a non-nullable field 'details1' to feature without specifying a default. This is because the database needs something to populate existing rows.

2023-03-25 Thread Patricia Medina
Thats because you have values in the database... If you don't need the data... eliminate the 001, 002, etc files of the migration folder...(this folder is in each application folder) and applicate the migrations again. On Sat, Mar 25, 2023, 09:00 Ebenezer Otchere wrote: > Am new in django and ha

Access Celery's subprocess in my Django app

2017-01-13 Thread Patricia Infante
Hi everyone! I put Celery in my Django app so that the two other python programs can process the input from my Django app via doing subprocess method. My question is how do I access the output from the subprocess? Back then when I made just a python program, I access the log files (output from

Django-filer FilerImageField how to use widget outside admin

2016-07-22 Thread Patricia Santos
I want to use the FilerImageFieldin one of my model field and want the user to edit outside the admin area but when I try to load it, the widget doesn't work correctly and in the browser console I get and error in the javascript generated: Uncaught TypeError: Cannot read property 'jQuery' of

urls permalink error

2010-08-30 Thread Patricia
Hi all! I have a page with some years. I want to click over the year, for instance 2000, to see all the information. I've build some permalinks in other pages to built the URL, now I wanted to do the same thing, but the field I wanted to connect is not the year, is the date. @permalink def get_

Display of foreignkey relations

2009-01-07 Thread Patricia P.
Hello everybody, I need your help. I have the following data model: class Contract (models.Model): : class Project (models.Model): :: contract= models.ForeignKey( "Contract") and would need to modify the administration interface that automatically generates Django, in order to view in e

Referencing attributes of the kinds of administration / Export of data in CSV interface administration

2008-12-10 Thread Patricia P.
Hello everybody, i am new in Django and in the group, to see if i may help Trying export data to csv in the interface for administration, using : http://www.djangosnippets.org/snippets/790/ i met with the following error : Traceback: File "C:\Python25\lib\site-packages\django\core\handlers

Re: django

2008-01-10 Thread Patricia Ramirez
you solve your problem with django, i have the same error message, and i don't not why happend > > File "", line 1 > django-admin.py startproject mysite >^ > SyntaxError: invalid syntax > > --~--~-~--~~~---~--~~ You received th