Re: How can I modify the html of the fileupload?

2018-09-07 Thread Jorge Cadena
re de 2018, 16:45:37 (UTC-5), Jorge Cadena escribió: > > I want to modify or format the html generators by the input type="file". > > I want to give it its own style, with the same structure as the html of > the input type="file", of the admin > > >

How can I modify the html of the fileupload?

2018-09-07 Thread Jorge Cadena
I want to modify or format the html generators by the input type="file". I want to give it its own style, with the same structure as the html of the input type="file", of the admin but: I'm rendering the form, manually, to add materializecss styles

It is posible to disable the return id

2017-10-13 Thread Jorge Cadena
Hola I'm creating a partitioned table and the trigger return a NULL and django bounces an error because postgres doesn't return anything It is posible to tell django to disable the return of the id django makes a mistake: 'NoneType' object is not subscriptable Trigger in postgres: CREATE

Re: Updating 1.10 to 1.11.1 and AttributeError

2017-05-24 Thread Jorge Cadena
', 'debug_toolbar.apps.DebugToolbarConfig', 'django_countries', 'django_celery_beat', 'django_extensions', 'channels', 'channels.delay' ) query caching not, only cache normal SESSION_ENGINE = 'django.contrib.sessions.backends.cache' El lunes, 22 de mayo de 2017, 17:40:11 (UTC-5), Jorge Cadena escribió

Re: Updating 1.10 to 1.11.1 and AttributeError

2017-05-23 Thread Jorge Cadena
if db_obj1 == db_obj2: > return True > else: > return False > return None > > def allow_syncdb(self, db, model): > """Make sure that apps only appear in the related database.""" >

Updating 1.10 to 1.11.1 and AttributeError

2017-05-22 Thread Jorge Cadena
Hello. updating 1.10 to 1.11.1 and get this error: File > "/home/aztrock/workspace/ariatel.com.co/local/lib/python3.5/site-packages/django/utils/autoreload.py", > > line 227, in wrapper > fn(*args, **kwargs) > File >

ti possible CommaSeparatedIpField

2016-08-30 Thread Jorge Cadena
Hi I have a idea CommaSeparatedIpField, it possible ? this for validacion IP ACL list in FreeSWITCH. -- 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

Re: django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
_exc_type, dj_exc_value, traceback) File "/usr/local/lib/python2.7/dist-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) File "/usr/local/lib/python2.7/dist-packages/django/db/backends/sqlite3/base.py", line 323, in execute

Re: django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
same error, in mariaDB, postgresql, rigth now in sqlite3 El viernes, 29 de julio de 2016, 9:07:33 (UTC-5), Jorge Cadena escribió: > > Hi, > > I am dev in django at last 4 years, i missed ./manage.py syncdb, > > Delete all tables from databases (MariaDB, PostgreSQL) comma

django 1.9, migrations SUCK

2016-07-29 Thread Jorge Cadena
Hi, I am dev in django at last 4 years, i missed ./manage.py syncdb, Delete all tables from databases (MariaDB, PostgreSQL) command line from DB, and run python manage.py migrate always same error *python manage.py migrate* django.db.utils.ProgrammingError: (1146, "Table