I make the changes in database table manually. The most important is the
keep the amount of fields in the model and the type (varchar,integer, text,
..etc.)
That is part of Django flexibility.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie, 24 dic 2021 a las 9:11, Amor
sites que muestran su uso.
gabrielaraya2...@gmail.com
Saludos,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 20 ene 2022 a las 11:16, Amor Zamora ()
escribió:
> I have 2 problems working with pdf in django.
> 1. I need a tool, function or library that allows me t
Try this:
ExampleModel.objects.all().order_by('updated_at' , '-created_at')
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie, 21 ene 2022 a las 1:54, Aadil Rashid ()
escribió:
> class ExampleModel(models.Model):
> is_active = models.BooleanField(
If you had implemented the authentication in your app, then I think, it
would be more easy to develop other things more complex. Remember in Django
you can give permission at users group
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mar, 22 mar 2022 a las 10:12
Did you solve that. If not, you could tell me and I'll help you
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mar, 22 mar 2022 a las 2:07, 'Delvin Alexander' via Django users (<
django-users@googlegroups.com>) escribió:
> would anyone know why my
Mike:
You should see a REACT tutorial for beginners. React doesn't reload the
page.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mié, 18 may 2022 a las 19:27, Mike Dewhirst ()
escribió:
> On 19/05/2022 4:23 am, Dias André wrote:
>
> Good afternoon! I'm
Mike:
I have forgotten. REACT can be used with DJANGO (in back) and REACT (in
front)
Have a good day,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El sáb, 21 may 2022 a las 11:41, Gabriel Araya Garcia (<
gabrielaraya2...@gmail.com>) escribió:
> Mike:
> You
Why do you want to do that? I ask you about that for have one idea to give
you. Perhaps there is an easy solution.
We need more information
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 9 jun 2022 a las 5:25, Abhinandan K ()
escribió:
> IS anybody know how
Tengo una template, la cual sirve para incorporar vendedores, en esta,
existe un campo username. ¿ Que debería hacer cuando graba un nuevo
registro vaya e inserte también dicho vendedor en auth_user.
En mi template tengo varios campos del mismo nombre que usa auth_user, por
lo cual sería inte
In template you should put an conditional, if it is an any user then show
the real price and if it's a superuser then show zero. And on the back-end
you should ask the same question at the time to save.
gabrielaraya2...@gmail.com
Regards
Gabriel Araya Garcia
GMI - Desarrollo de Sis
Allways there is a way to improve the code, but if that not run, then try
with CYTHON
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 9 feb 2023 a las 10:09, Andréas Kühne ()
escribió:
> Not if you want it to be fast. Python itself is slow - so you should try
&
I've learned Django for a year, and I have my project hosted in
PYTHONANYWHERE, however, I never had have a problem. It's very easy, you
can If you are a beginner to use the free account, or else a paid one.
If you have any question, don't hesitate to ask me.
Regards,
Gabriel A
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El dom., 17 may. 2020 a las 20:15, Ahmed Khairy (<
ahmed.heshamel...@gmail.com>) escribió:
> Hi all,
>
> I need some help writing the ajax for a like button instead of refreshing
> every time a like is pos
Sergei, you just to have put an conditional flag. It could be defined in
your view. Example:
flag_ = 0
if pedrito > 16
flag_ = 1
and flag_ send it in context
in template you must include:
{% if flag_ == 0 %}
brek
etc.
Gabriel Araya Garcia
GMI - Desarrollo de Siste
You can see it in ADMIN tables of Django
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El vie., 22 may. 2020 a las 17:39, Sujata Aghor ()
escribió:
> I am looking to create a database audit fields such as 'created by' , '
> modified
..and... why you don't try make theses things that you are asking ?
El 12:03 Vie Jun 5, 2020, Vishesh Mangla
escribió:
> First of all, if you will use .css file, it would be better. In that you
> can include image the usual way.
>
> But still if you would like it as inline element thenn use “...
Pregunta:
Se puede migrar solo una tabla, ya que las otras estan ok. Es decir,
¿sepuede:
python manage.py makemigrations solo para una tabla recién definida en el
modelo ?
Gracias desde ya
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To un
consultar el tutorial de DjangoGirls para más detalle.
>
> Saludos,
>
>
> --
> Gerardo Palazuelos Guerrero
>
>
>
> On Fri, Aug 9, 2019 at 11:57 AM Gabriel Araya Garcia <
> gabriela...@gmail.com > wrote:
>
>> ¿Donde y como subir mi proyecto básico en calidad
de solo es poner el comando normal y el nombre de la aplicacion
>
> El sáb., 6 jun. 2020 a las 19:32, Gabriel Araya Garcia (<
> gabriela...@gmail.com >) escribió:
>
>> Pregunta:
>> Se puede migrar solo una tabla, ya que las otras estan ok. Es decir,
>> ¿sepue
now()
cursor = connection.cursor()
cursor.execute(
"update auth_user set log_out=%s where id=%s",[log_out_x,id_x] #
)
logout(request)
return redirect('login_ini')
and in template:
{% if perms.ai.btn_acep_fichacui %}
Aceptar
{%else%}
Aceptar
{%endif%}
if you have some questio
Je ne comprends pas ce que tu dis. Pourquoi n'utilisez-vous pas l'anglais
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El dom., 5 jul. 2020 a las 18:36, FLAVIEN HERI ()
escribió:
> je pense tu peux reutiliser tout en activant ton environement
>
it do the seek patient
If you send this information I will send you one bit WORD file with images
how can controller the users permissions
We can help each other to achieve our respective goals
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
El sáb., 11 jul.
You are an unethical person if you are thinking of doing that
the world is more rotten with people like you.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El sáb., 5 sept. 2020 a las 13:33, Mustafa Mahmoud ()
escribió:
> Who know how Much Ransomeware sell it I can make
Jajaja,...es muy simple. Debes hacer lo que la mayoría de nosotros hacemos,
seguir los foros, mira que hay decenas de ellos. No pretenderas que te
hagamos la tarea
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue., 10 sept. 2020 a las 12:21, Emmanuel Oppong Ntiamoah
You could try it with pandas (pandas works with python)
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El dom., 20 sept. 2020 a las 23:27, Ram ()
escribió:
> Hi,
> We are planning to implement members rating system in our web application
> for Classifieds Ad transac
I believe that there is not other way to do this with AJAX. This is
an asynchronous call to database server. This not refresh your html
bye
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie., 18 sept. 2020 a las 1:49, Emmanuel Oppong Ntiamoah (<
ladamo...@gmail.
Que es eso de OTP?,...que significan esas siglas ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie., 25 sept. 2020 a las 10:55, Rahul Gour ()
escribió:
> Hello,
>
> TIA.
>
> I am new in django, can anyone help me for OTP based login in my app.
>
&
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
ja,ja,ja,...gracias Carlos
El mar., 29 sept. 2020 a las 17:18, carlos ()
escribió:
> Gabriel
> one-time password
>
> On Tue, Sep 29, 2020 at 12:34 PM Gabriel Araya Garcia <
> gabrielaraya2...@gmail.com> wrot
Did you make the migrations ? ,...and What is database are you using ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El lun., 16 nov. 2020 a las 0:23, Luciano Martins ()
escribió:
> please post your repository
>
> Em domingo, 15 de novembro de 2020 às 19:42:30 UTC-
I don't undertand that you say. Can you explain with more details?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mar, 15 dic 2020 a las 15:25, Chelsea Fan ()
escribió:
> [image: image.png]
>
> --
> You received this message because you are subscribed to
t_by_index(1)
On the other hand, the model has not contains records, it's only an
structure definition of a table
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El vie, 22 ene 2021 a las 12:58, Shailesh Yadav (<
shaileshyadav7...@gmail.com>) escribió:
> Hi I
; wrote:
>
>> Previous, you can use:
>> howmany = mytable.count()
>>
>> Also you can use xlrd library, for instance:
>> import xlrd
>>
>> #open excel file
>> documento = xlrd.open_workbook("ejemplo.xls")
>>
>> #We can save each one of
In top of views files (views.py) you must put:
import openpyxl
from openpyxl import Workbook
from openpyxl.styles import Alignment,Border,Font,PatternFill,Side
from openpyxl.styles import colors
from openpyxl.styles import Font, Color,Fill
from openpyxl.styles.borders import BORDER_THIN
from openpy
Tal vez el conector esta pifiado. Intenta bajarlo desde otro sitio. Revisa
este link:
https://www.programcreek.com/python/example/113615/ibm_db_dbi.connect
El miércoles, 27 de enero de 2021 a las 14:20:57 UTC-3, lugo...@gmail.com
escribió:
> Buenos días, soy nuevo en Django y no he podido conec
.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 28 ene 2021 a las 15:17, hari49pf () escribió:
> Hi,
>
> I am trying to load static file to my project its not loading,
> I have changed the path of static in settting.py still its not loading
> static file.
>
Agni:
No, no, the information is not enough. Could you give us exactly which is
your problem? you say that it is in a web environment, but what happens in
your local host ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mié, 3 feb 2021 a las 15:41, Agni Venus ()
escribió
r"
context = {'user':user,"variable1":variable1,"error_log":error_log,}
return render(request,'login_ini.html',context)
def log_out(request):
logout(request)
return redirect('login_ini')
Where login_ini.html, is the authentication t
plate.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
sclub is my project and appsclub is my App
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
");
document.getElementById("correo").value = "";
}
}
}
Regards,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
Santiago of Chile
El mar, 9 mar 2021 a las 11:47, Manuel Buri ()
escribió:
> Hi, I am a bit lost while trying to add user email verificati
Could you give me some hosting name where I may test (free) my django
project. My database is MySql. In PythonAnywhere they accepts only one app
(already I've one) and Heroku only run with Postgresql.
Thanks,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
from Santiago of
Camarada Sokov:
Your code is very difficult to understand at first sight. I did not know
about ReCaptchaField().
But, is interesting to learn something new.
Recards,
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
from Santiago de Chile
El jue, 11 mar 2021 a las 12:40, Sergei
Why you don't explain better your problem ? When appear that
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 1 abr 2021 a las 15:43, Mahendra ()
escribió:
> I think given name is wrong Hlo do you have any idea posting form data?
>
> Mahendra Yadav
>
ction.
Last night finished with this and I'd checked this running perfectly.
You have take in mind that in template you must ask if the value check
field is chequed or not with {% if.. %}..{%else%}{%endif%}. This is sent
from context.
If you need some help,
Regards
Gabriel Araya Garcia
GMI -
ordenados y/o graficados.
Pues bien, yo puedo construirte un aprox de esta consulta en Django, para
así darte una idea de cómo poder incorporar otras consultas.
Puede ser un excel o csv el que me envíes.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 22 abr 2021 a las 13:19
At first, what's your name? So I know Who answering to
El dom., 9 may. 2021 11:50, Ryan Nowakowski escribió:
> Note: I googled for "HTML video playlist"
>
> On May 9, 2021 10:41:28 AM CDT, Ryan Nowakowski
> wrote:
>>
>> https://stackoverflow.com/a/2552131/226697
>>
>> On May 8, 2021 2:12:15 PM
The links (image, code, and https://tmpsee.com/v/nbkdqhnxee) they are
shit. It is impossible see it. Why you don't cut and paste here in forum
page ?
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 13 may 2021 a las 20:22, Walter Randazzo ()
escribió:
> Her
Davin:
It will be a pleasure to collaborate for deaf and blind of the world. If
you want, tell me what can I do about your Django project.
Excuse me, but my english is not well
Regards.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
Santiago de Chile
El mar, 25 may 2021 a las 9
Sebastian,.. una pregunta:
Tienes idea de como a partir de Django poder enviar un whatssap. Te
agradeceria tu ayuda.
Gabriel Araya Garcia
Santiago - Chile
El lun, 7 jun 2021 a las 11:46, Nicolás Gustavo Bruna (<
bruna.nicolasgust...@gmail.com>) escribió:
> Hello, how are you?
>
&
No. Only take sure That model structure about your tables should be the
same fields in your database
El vie., 4 jun. 2021 8:58, Ankita Sharma
escribió:
> Hello Team
> Hope all are doing great
>
> I have a database in microsoft sql server. I created tables and views in
> it.
>
> I ran py manage.p
Gbel:
I don't understand nothing about you attempt to tell us. If you could
write in english or spanish it would be great
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El sáb, 12 jun 2021 a las 14:50, GBELE CEDRIC EMMANUEL (<
cedric.gb...@uvci.edu.ci>) escribió:
&
How? with a message. It's very simple.
It's is in authentication page that you had build.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El jue, 15 jul 2021 a las 14:04, Kasper Laudrup ()
escribió:
> On 15/07/2021 19.14, Théodore KOSSI wrote:
> >
> &
Get the [ODBC Driver in other site, perhaps your odbc driver are corrupted.
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El lun, 19 jul 2021 a las 19:58, sum abiut () escribió:
> I am trying to connect Django to an existing legacy database but I got
> this error mess
Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
El mié, 25 ago 2021 a las 15:09, frank galan ()
escribió:
> Hi everybody.
> I've already deployed my app in Plesk, but the process is incomplete, .
> The static files not working, I mean the app can not read them.
> I know I
I have one grid
{% for pr in parasalida %}
{{ pr.estado}}
{{ pr.fecha_ing|date:'d-m-Y'}}
{{ pr.lote}}
{{ pr.oc_ascoex}}
e"
>> attribute that your form uses. You should also be using cleaned_data
>> <https://docs.djangoproject.com/en/3.2/ref/forms/api/> after using
>> proper form validation, and in this case you should probably be using a f
>> ormset <https://docs.djangoproject.com/en
t, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAFN7gTzoXmNm1Dq_cJPzT1cTfrkbLJ_Z1W5F0iB%3DE4H3g_n8Vw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-use
¿Donde y como subir mi proyecto básico en calidad de demostracion?. Es muy
basico, con apenas 60 registros, en Sqlite3. Necesito mostrar el estado de
avance para un cliente. He intentado subir a Heroku, pero me ha sido
imposible, pues me alega sobre la mi version de Python 3.7.4 cabe señalar
qu
gt; 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 view this discussion on the web visit
> https://grou
ml',context)
Remember that 'POST' is when you give a submit botton, and you must put
this cod lines in your template:
{% if error_new == "error1" %}
R.U.T. de Paciente ya existe !!
{% endif %}
You should put it before of the disply text fields in your template.
There
ers/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo d
his discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>
-
> --
> 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 view this discussion on the w
discussion on the web visit
> https://groups.google.com/d/msgid/django-users/8858e1b6-0448-43da-a495-5e314cf5b220%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/8858e1b6-0448-43da-a495-5e314cf5b220%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
8dc01f-95ae-4902-9cb9-99daccdaf8e6%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/c58dc01f-95ae-4902-9cb9-99daccdaf8e6%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.1
tps://groups.google.com/d/msgid/django-users/eb99b343-bf08-47da-9a5a-dc1bf0ccb797%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
--
You received this message because you are subscribed to the
22-a054-117439311a86%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cb8e6300-15a5-4a22-a054-117439311a86%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
--
You received th
.@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/27027877-2836-452b-a608-473100edc83e%40googlegroups.com
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70
--
You received this message b
groups.google.com/d/msgid/django-users/e4349773-f5f1-4d86-94da-517c390417e5%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/e4349773-f5f1-4d86-94da-517c390417e5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
Gabriel Araya Garcia
GMI - Desarrollo de Sistem
¿Como puedo recorrer registro a registro una tabla e ir insertando dicha
informacion en otra tabla segun criterio de lo que tenga en un campo de la
primera tabla?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group a
69 matches
Mail list logo