Re: Hola comunidad django, soy nueva

2024-06-23 Thread Gabriel Soler
, el allowed hosts tiene que decir local host, ese cambio pudo también romper el código. Tienes que darle un local host para que corra en tu computadora. Gabriel On Wednesday 12 June 2024 at 17:40:48 UTC+2 Jose Ramirez wrote: > Hola el mensaje indica que Django no es capas de detectar tus u

Re: Help deploying to vercel

2024-06-23 Thread Gabriel Soler
Hi, I am curious how do you deploy on a function base system with Django, when you need to much to access the manage.py? How do you deploy in vercel? Does it have a way to reach the command line? Gabriel On Friday 14 June 2024 at 15:17:34 UTC+2 Augusto Domingos wrote: > Hey, so

Heroku testing

2024-06-23 Thread Gabriel Soler
:) Gabriel -- 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 vi

Re: Hiring Django Developer with Front-end skills

2023-10-24 Thread Gabriel Molocea
https://www.linkedin.com/jobs/view/3745361545 Please apply here On Tuesday, October 24, 2023 at 2:19:37 PM UTC+3 Habeeb Lasisi wrote: > I'm interested... https://linkedin.com/in/habeeb-lasisi > > On Mon, Oct 23, 2023 at 9:59 PM Gabriel Molocea > wrote: > > > > Loo

Hiring Django Developer with Front-end skills

2023-10-23 Thread Gabriel Molocea
Looking to hire a fullstack developer for an ongoing project. The project is a crowdsourcing platform running on django 3. Current app: https://app.zignative.com , I want to add new features, fix bugs and to change the UI to be like this:

final project in django - help

2023-07-16 Thread Alexandru - Gabriel Ionicescu
Hello, who can help me with the final project in django? in a week I have to hand it over and I got into trouble with it. I can't access github. Please help me. Tnx, Alex -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Re: problem bd python manage.py makemigrations & migrate

2023-06-20 Thread Alexandru - Gabriel Ionicescu
ing and at what step is it giving error? >> >> On Mon, Jun 12, 2023, 12:30 AM Alexandru - Gabriel Ionicescu < >> ionicescu.alexandrugabr...@gmail.com> wrote: >> >>> hello, I have a project and I use django. >>> I'm trying to do my migrations for bd but I c

problem bd python manage.py makemigrations & migrate

2023-06-11 Thread Alexandru - Gabriel Ionicescu
hello, I have a project and I use django. I'm trying to do my migrations for bd but I can't do them. it gives me the error django.db.utils.OperationalError: no such table: user_user. I also made a User class (AbstractUser) and it still doesn't work. What can I do? I mention that in settings.py I

Django Channels: Implementing an HTTP endpoint for server-sent events.

2023-04-18 Thread Gabriel Morales
In the consumer example that Django Channels provides (attached image) about implementing an HTTP endpoint for Server-sent events (SSE), it leaves me with a doubt: If I implement an endpoint with that consumer, connect to it from a client, and then disconnect, it throws the following error:

Re: django model method

2023-02-10 Thread Gabriel Araya Garcia
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

Re: How to get superuser access to bypass payments page

2022-10-20 Thread Gabriel Araya Garcia
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 Sistemas

If save a new row, then save a new user in AUTH_USER

2022-06-11 Thread Gabriel Araya Garcia
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

Re: how to convert xlsx file into jpg

2022-06-09 Thread Gabriel Araya Garcia
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

Re: PHP website | a way to refresh the page without reloading

2022-05-20 Thread Gabriel Araya Garcia
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: > Yo

Re: PHP website | a way to refresh the page without reloading

2022-05-20 Thread Gabriel Araya Garcia
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 new to pr

Re: runserver not working

2022-04-02 Thread Gabriel Araya Garcia
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 "manag

Re: Supertypes, subtypes and authentication

2022-03-24 Thread Gabriel Araya Garcia
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

Re: order_by on the basis of time difference (updated_at - created_at)

2022-01-21 Thread Gabriel Araya Garcia
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(default=True) > c

Re: Django works with PDF

2022-01-21 Thread Gabriel Araya Garcia
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 to open

Re: On django model.

2021-12-26 Thread Gabriel Araya Garcia
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

Re: INPUT TEXT in grid

2021-10-02 Thread Gabriel Araya Garcia
ing 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/3.2/topics/forms/formsets/> >> instead >> of manuall

INPUT TEXT in grid

2021-09-28 Thread Gabriel Araya Garcia
I have one grid {% for pr in parasalida %} {{ pr.estado}} {{ pr.fecha_ing|date:'d-m-Y'}} {{ pr.lote}} {{ pr.oc_ascoex}}

Re: Deploying django in plesk

2021-08-25 Thread Gabriel Araya Garcia
Hi, Frank: Perhaps that can run if you put the statics folder in the exterior level. Por example: misite/misite/myapp In local, I have my statics folder in myapp level, but in hosting I must to put it in: misite (fisrts misite) try it, and tell me how has solve that problem. Greetings Gabriel

Re: connection to an existing legacy database

2021-07-21 Thread Gabriel Araya Garcia
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

Re: Help me for user connection message error

2021-07-15 Thread Gabriel Araya Garcia
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: > > > > I w

Re: Diploy django on DigitalOcean

2021-06-24 Thread Gabriel Akwasi Asare
Don’t forget that heroku doesn’t manage your media files.It deletes them every reboot which is going to cost you your data Digital ocean let’s do all things yourself yeah but it’s worth it You have control to manage your site however you want it On Thu, 24 Jun 2021 at 09:45 Luciano Martins

Re: Diploy django on DigitalOcean

2021-06-24 Thread Gabriel Akwasi Asare
Open the file,it has all you need On Thu, 24 Jun 2021 at 09:08 Antonis Christofides < anto...@antonischristofides.com> wrote: > Hi, > > you can try "Deploying Django on a single Debian or Ubuntu server" at > djangodeployment.com or djangodeployment.readthedocs.io. > > Regards, > > Antonis > >

Re: Ez

2021-06-12 Thread Gabriel Araya Garcia
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ó: > S

Re: Makemigrations/migrate in existing database

2021-06-08 Thread Gabriel Araya Garcia
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

Re: Sending emails with a name over 75 characters

2021-06-07 Thread Gabriel Araya Garcia
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? > &

Re: Making a rather small web app, is Django right for it?

2021-05-25 Thread Gabriel Araya Garcia
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

Re: Dictionary not rendering in a html table in a Template

2021-05-13 Thread Gabriel Araya Garcia
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ó: > Here is

Re: Threading videos one after the other

2021-05-09 Thread Gabriel Araya Garcia
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

Re: Using Python Libraries in Django

2021-04-23 Thread Gabriel Araya Garcia
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

Showing a landing page with django-tenants package

2021-04-21 Thread Gabriel
HARED_APPS + TENANT_APPS)) Thank you very much! Gabriel. -- 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

Re: Form.has_changed() == False and Form.changed_data empty

2021-04-11 Thread Gabriel Araya Garcia
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 - Desar

Re: curva de aprendizaje

2021-04-06 Thread LUIS GABRIEL CORTES JACANAMIJOY
Gracias a todos El El mar, 6 de abr. de 2021 a la(s) 10:09 a. m., Alan Flavio Ruiz < ruizfla...@gmail.com> escribió: > Hola Luis, este post es buenísimo. > > > https://youtube.com/playlist?list=PLCC34OHNcOtr025c1kHSPrnP18YPB-NFi > > > > El dom., 4 abr. 2021 20:20, L

Re: curva de aprendizaje

2021-04-04 Thread LUIS GABRIEL CORTES JACANAMIJOY
t; > El 4 abr 2021, a la(s) 17:20, LUIS GABRIEL CORTES JACANAMIJOY < > lgcor...@uniguajira.edu.co> escribió: > > hola buenas soy nuevo en esto, quisiera saber si alguien puede > suministrarme información acerca de la curva de aprendizaje de Django, ya > que he buscado en las we

curva de aprendizaje

2021-04-04 Thread LUIS GABRIEL CORTES JACANAMIJOY
hola buenas soy nuevo en esto, quisiera saber si alguien puede suministrarme información acerca de la curva de aprendizaje de Django, ya que he buscado en las web y no encuentro algo especifico, muchas gracias -- You received this message because you are subscribed to the Google Groups

Re: AttributeError: 'customer' object has no attribute 'is_authenticated'

2021-04-01 Thread Gabriel Araya Garcia
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 > >

Re: Why does my django form with recaptcha send data even empty the recaptcha?

2021-03-11 Thread Gabriel Araya Garcia
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

Re: Chat Application in Django

2021-03-10 Thread Gabriel Araya Garcia
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 Chile

Re: Add user email verification to custom user model

2021-03-09 Thread Gabriel Araya Garcia
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 verification step to

Re: A very easy problem that I couldn't figure it out! PLEASE HELP^^

2021-03-05 Thread Gabriel Araya Garcia
', 'django.contrib.messages.context_processors.messages', ], }, }, ] sclub is my project and appsclub is my App Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos El vie, 5 mar 2021 a las 11:16, NB DEV () escribió: > > Environment: > > > Request Method: GET >

Re: Create a custom User model and Authenticate with it

2021-03-03 Thread Gabriel Araya Garcia
riable1,"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 template. Only you must to build authentication template Gabriel Araya Garcia GMI - Desa

Re: i have aproblem with my code

2021-02-03 Thread Gabriel Araya Garcia
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ó

Re: Static Folder not loading

2021-02-02 Thread Gabriel Araya Garcia
. 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. &

Re: Conectarme a un AS/400 desde Django

2021-01-28 Thread Gabriel Araya Garcia
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

Re: How to intergrate openpyxl with django and using the excel sheet as the database to query data

2021-01-26 Thread Gabriel Araya Garcia
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

Re: How to set daily update limit for django model(db)?

2021-01-22 Thread Gabriel Araya Garcia
ary, for instance: >> import xlrd >> >> #open excel file >> documento = xlrd.open_workbook("ejemplo.xls") >> >> #We can save each one of the spreadsheet separately >> libros = documento.sheet_by_index(0) >> peliculas = documento.sheet_by_index(1) >

Re: How to set daily update limit for django model(db)?

2021-01-22 Thread Gabriel Araya Garcia
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'm having

Re: Django/python free Training

2020-12-25 Thread JOHN GABRIEL
interested On Thu, Dec 24, 2020 at 7:07 PM Joseph M. Afonne wrote: > do a beginner django tutorial, that beginners should do when they want to > start coding in Django. > > On Wednesday, December 23, 2020 at 9:27:31 AM UTC-8 shrutiyad...@gmail.com > wrote: > >> I am interested >> >> On Wed, 23

Re: hello guys, help me please, I could not associate username to a post

2020-12-15 Thread Gabriel Araya Garcia
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 the G

Re: Debbuging

2020-11-16 Thread Gabriel Araya Garcia
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-

django-filter according to logged user

2020-11-01 Thread Gabriel
Hi, I am using the django_filters to filtering the information. However, it is showing the data of all logged user of my systems. I need show *only* the data of logged user. Follow the files: *filters.py * import django_filters from apps.requisitos.models import Requisito class

Filtering combobox according to a project list created by logged user

2020-10-25 Thread Gabriel
Hi everyone! I am newbe in Django and I have a question. I am creating a multi-tenanci application and I need to filter the combobox according to projects created by logged users, but I have the following message: *AttributeError at /requisitos/cadastrarRequisito/ 'WSGIRequest' object has

Re: Regarding OTP based login- Django

2020-10-09 Thread Gabriel Araya Garcia
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

Re: Regarding OTP based login- Django

2020-09-29 Thread Gabriel Araya Garcia
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. &

Re: Inline Formset

2020-09-20 Thread Gabriel Araya Garcia
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.

Re: Members rating system in DJango applications

2020-09-20 Thread Gabriel Araya Garcia
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 tr

Re: Django and Pandas

2020-09-10 Thread Gabriel Araya Garcia
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

Re: Ransomeware

2020-09-05 Thread Gabriel Araya Garcia
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 m

Re: HOW TO REDIRECT DIFFERENT CATEGORY OF USERS THROUGH LOGIN REDIRECT (two login redirects instead of one)

2020-07-11 Thread Gabriel Araya Garcia
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. 2020 a las

Re: REUTILISER UN CITE DJANGO

2020-07-05 Thread Gabriel Araya Garcia
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 > > On 7/

Re: how to give permission to a logged in specific user in a list of users profile

2020-07-05 Thread Gabriel Araya Garcia
here 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 question, contact me to: gabrielaraya2...@gmail.com Gabriel Araya Garcia GMI - Desarrollo de Sistemas Inf

Re: Migrar solo una tabla

2020-06-06 Thread Gabriel Araya Garcia
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

Re: Hosting para demostración

2020-06-06 Thread Gabriel Araya Garcia
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

Migrar solo una tabla

2020-06-06 Thread Gabriel Araya Garcia
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

Re: How to convert the static image files of a readymade template to dynamic

2020-06-05 Thread Gabriel Araya Garcia
..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

Re: Database audit fields in Django

2020-05-22 Thread Gabriel Araya Garcia
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 by', 'created o

Re: How to create custom tag - break for tamplate?

2020-05-17 Thread Gabriel Araya Garcia
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

Re: how to write Ajax for a Like button in Django

2020-05-17 Thread Gabriel Araya Garcia
Hi Ahmed, I was looking for that during several months and I have found examples than not run, and therefore I`ve get one conclution: "It`s not posible to get that functionality in Django". No one could demostrate with example code. If you find something, please send me the code. Thanks

Re: Best hosting for Django Application?

2020-05-06 Thread Gabriel Araya Garcia
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 Araya Garcia GMI

Re:

2020-05-06 Thread Nomeh Uchenna Gabriel
That's quite easy - ___ models.py: class num(models.Model): item = models.BigIntegerField(...) ___ views.py: from . import models def funct(request): mdl = models.num.objects.get(id__exact=1) mdl2 = models.num.objects.get(id__exact=1)

Re: Best hosting for Django Application?

2020-05-06 Thread Nomeh Uchenna Gabriel
please don't ever use "python-anywhere" for a serious project unless you have enough tears  in your eye balls to cry out when the time comes. ... I suggest "digitalocean/linode" so that the heavy problems of "SSL certificates" won't beat you up -- You received this message because you are

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-06 Thread Nomeh Uchenna Gabriel
That's great to hear! -- 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

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-06 Thread Nomeh Uchenna Gabriel
delete the migrations again, then run this to reset the tracking: >>> py manage.py migrate --fake [app_Name] zero then redo the process I stated before. ... makemigrations [app_Name] ... migrate [app_Name] -- You received this message because you are subscribed to the Google Groups "Django

Page 404 error after running Django server

2020-05-04 Thread Nomeh Uchenna Gabriel
Hi! you're just visiting a different url from what you specified in your "urls.py" file. look closely at the routes "django" is telling you that it tried: [admin/, welcome.html/] ... these are truly the two paths that you specified, why on earth are you trying to visit a non-existing

Re: A learner following a Mosh Tutorial on Django and having a problem saving a product to SQLite

2020-05-04 Thread Nomeh Uchenna Gabriel
Hi! the reason is probably because you happened to have deleted "some but not all of your migrations" ... django will always look for the latest "sqlmigrate" with the versions in the right order(0001,0002,000x...) before it allows "makemigrations" add a new one. To fix, this you must:

How to get previously uploaded Images in Django

2020-05-04 Thread Nomeh Uchenna Gabriel
You should read about customising the admin here: https://docs.djangoproject.com/en/3.0/intro/tutorial07/ ... but I suggest that you build your own website control panel which will control your website with API's -- You received this message because you are subscribed to the Google Groups

Re: not a valid UUID.

2020-05-04 Thread Nomeh Uchenna Gabriel
[CONTINUED] I just saw "unique=true" on that field ... you may not face the problems of using "random" just yet but must face it at some "random time in the future" - once you see something like this: >>>: IntegrityError ... then shall you remember my reply. The best option is to use a

Re: not a valid UUID.

2020-05-04 Thread Nomeh Uchenna Gabriel
That looks good to you but is definitely a dangerous approach if the "12 digits" should be unique for each QuerySet since "random.random" can return dublicate numbers when called multiple times. ... I suggest you make a function for that or novicely adds the item's 'pk' to the random number

Re: not a valid UUID.

2020-05-03 Thread Nomeh Uchenna Gabriel
On Sunday, May 3, 2020 at 9:10:28 AM UTC+1, Benedict Uwazie wrote: > Still facing the same issue > > On Sunday, 3 May 2020 03:27:46 UTC+1, Motaz Hejaze wrote: > default=cast_trans > cast_trans = int(pass_trans) > > UUID is string not int > > > On Sun, May 3, 2020 at 4:05 AM Benedict Uwazie

Re: ANN: django-yamlconf v1.2.0 is available

2020-02-24 Thread Gabriel - Iulian Dumbrava
there is always the danger to forget to override a specific variable and hence make the app less secure. I would suggest to have the most secure, drastic values set by default in settings.py and then loosen them up in yaml files. But, it's only a suggestion. Best regards, Gabriel luni, 24 februarie

Re: Django >=3 closes dev server when trying to log in in admin

2020-01-08 Thread Cristhiam Gabriel Fernández
Yup! that works  Thank you so much El miércoles, 8 de enero de 2020, 13:26:22 (UTC-5), Alfredo Silveira escribió: > > Yes, python version 3.8 not Django > > > > On 8 Jan 2020, at 13:13, Cristhiam Gabriel Fernández > wrote: > >  > 3.8? 樂 > Did you mean 2.2.8

Re: Django >=3 closes dev server when trying to log in in admin

2020-01-08 Thread Cristhiam Gabriel Fernández
Awesome! upgrade python to 3.8 and django works again  Thank you so much El miércoles, 8 de enero de 2020, 11:30:18 (UTC-5), Jasim Ak escribió: > > Update your Python to version 3.8. > > Met with the same issue and this worked for me. > > On Wed, 8 Jan 2020, 21:43 Cristhiam

Re: Django >=3 closes dev server when trying to log in in admin

2020-01-08 Thread Cristhiam Gabriel Fernández
isnt an error >>  >> https://developer.mozilla.org/es/docs/Web/HTTP/Status/302 >> >> El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández < >> cristh...@gmail.com > va escriure: >> >>> Greetings >>> >>> From version 3 I'm g

Re: Django >=3 closes dev server when trying to log in in admin

2020-01-08 Thread Cristhiam Gabriel Fernández
TTP/Status/302 >> >> El dc., 8 de gen. 2020, 2:29, Cristhiam Gabriel Fernández < >> cristh...@gmail.com > va escriure: >> >>> Greetings >>> >>> From version 3 I'm getting this error. When I try log in in admin site >>>

Django >=3 closes dev server when trying to log in in admin

2020-01-07 Thread Cristhiam Gabriel Fernández
Greetings >From version 3 I'm getting this error. When I try log in in admin site django closes dev server with no error, only `"POST /admin/login/?next=/admin/ HTTP/1.1" 302 0`` Any suggestion? -- You received this message because you are subscribed to the Google Groups "Django users"

Recorrer una tabla sqlite3 en una view Django

2019-10-18 Thread Gabriel Araya Garcia
¿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

Re: forms name could't import are some error

2019-09-26 Thread Gabriel Araya Garcia
s.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_source=footer> > . > -- Gabriel Araya Garcia GMI - Desarrollo de Sistemas

Re: Help for building recommendation system in django

2019-09-23 Thread Gabriel Araya Garcia
scr...@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

Re: how to rectify this error

2019-09-21 Thread Gabriel Araya Garcia
54-117439311a86%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/cb8e6300-15a5-4a22-a054-117439311a86%40googlegroups.com?utm_medium=email_source=footer> > . > -- Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos 99.7721.15.70 -- You received this message beca

Re: Get authorization and list users in auth via http request

2019-09-09 Thread Gabriel Araya Garcia
/groups.google.com/d/msgid/django-users/eb99b343-bf08-47da-9a5a-dc1bf0ccb797%40googlegroups.com?utm_medium=email_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 Google Groups

Re: User matching query does not exist.

2019-09-07 Thread Gabriel Stone
Tamam all the best On Sat, Sep 7, 2019 at 23:12 göktürk sığırtmaç wrote: > I solved it!!! using ObjectDoesNotExist via javatpoint. ( > https://www.javatpoint.com/django-exceptions) > > try: > user = User.objects.get(email=email) > except ObjectDoesNotExist: > user = None; > > > 7 Eylül

Re: User matching query does not exist.

2019-09-07 Thread Gabriel Stone
In your user creation form did you add an email field?if you did then only can you query users by their email On Sat, Sep 7, 2019 at 22:36 göktürk sığırtmaç wrote: > I'm trying get user according to email. > > user = User.objects.get(email=email) > > > if user is none, i will show message. I

Re: Error: Not able to create table using models (Backend mysql)

2019-09-03 Thread Gabriel Araya Garcia
e-4902-9cb9-99daccdaf8e6%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/c58dc01f-95ae-4902-9cb9-99daccdaf8e6%40googlegroups.com?utm_medium=email_source=footer> > . > -- Gabriel Araya Garcia GMI - Desarrollo de Sistemas Informáticos 99.7721.15.70 -- You

Re: Help with Django

2019-09-01 Thread Gabriel Araya Garcia
he 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_source=footer> > . > -- Gabriel Aray

Re: Please help me to solve the error

2019-09-01 Thread Gabriel Araya Garcia
oogle 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://groups.google.com/d/msgid/django-users/e77ae50b-dbdb-

Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gabriel Araya Garcia
sion 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_source=footer> > . > -- Gabrie

  1   2   3   4   >