Re: Hosting a django website

2020-01-28 Thread Mario R. Osorio
I prefer digital ocean but by whatever you choose by any means, avoid cpanel. On Saturday, January 25, 2020 at 1:42:13 PM UTC-5, Perceval Maturure wrote: > > dear all > 1.what is the best way to host a django website on a shared host that you > are not sudo? > 2.is this possible? > 3. any

Re: Anyone used RENDER product for hosting?

2019-10-11 Thread Mario R. Osorio
I like Digital Ocean On Tuesday, October 8, 2019 at 5:33:27 AM UTC-4, ram.mullapudi wrote: > > > Hello, > > I'm looking for cheaper, secure and reliable way to host my website? The > site is being developed on DJango FWK. We are currently on GCP and also > reviewed other popular vendors too. I

Re: django calendar app

2019-09-27 Thread Mario R. Osorio
HTH: https://djangopackages.org/grids/g/calendar/ On Thursday, September 26, 2019 at 10:48:13 AM UTC-4, Perceval Maturure wrote: > > > Dear all > > i am looking for a django calendar app/package compatible with python 3.7 > , django 2.1 and django cms 3.6.0. > > Any ideas, please let me know

Re: Python +django

2019-09-10 Thread Mario R. Osorio
I must agree that video tutorials are harder to follow, specially if and when they are if at least a bit outdated. I used to hate them however; I've learned to appreciate them specially because of one reason: *YOU CANNOT COPY AND PASTE.* Written tutorials don't help you go thru the full

Re: how to pass user input into raw sql query ?

2019-09-07 Thread Mario R. Osorio
*Do not use string interpolation* as proposed by Bhoopesh!!! Take a look at: - SQL injection - SQL injection protection

Re: Chat

2019-09-06 Thread Mario R. Osorio
Tienes muchas opciones: - TUTORIAL: Real-time chat with Django, Twisted and WebSockets – Part 1 - Creating a chat with Django Channels

Re: How can i share one Database Sqlite between 2 app on pythonanywhere

2019-09-04 Thread Mario R. Osorio
You have at least 2 possibilities, depending on your exact needs: 1- The preferred method is to Import the models from the app they reside at, like in: *from foo_app.models import bar_model* 2- You could also have the models you need to share created at the project level thus making

Re: confusing about running some codes in django

2019-08-29 Thread Mario R. Osorio
That code is meant for you to type it in the python console however, you could also include it pretty much anywhere in your code. On Wednesday, August 28, 2019 at 9:15:20 AM UTC-4, Vahid Asadi wrote: > > Hi . > when i read the django docs,it suggested that running some code but it > does not

Re: How can I switch AUTH_USER_MODEL for each application?

2019-08-27 Thread Mario R. Osorio
I think this is what you're looking for: https://docs.djangoproject.com/en/2.2/topics/db/multi-db/ HTH! On Monday, August 26, 2019 at 10:12:06 AM UTC-4, Sim wrote: > > https://docs.djangoproject.com/en/2.2/ref/settings/#databases > > DATABASES in settings.py is a dict() and use

Re: UI for python windows applications

2019-08-22 Thread Mario R. Osorio
You might want to take a look into Kivy (https://kivy.org/ ) HTH On Wednesday, August 21, 2019 at 1:46:57 PM UTC-4, ARAVIND BALAKRISHNAN wrote: > > Can anyone suggest me any modern UIs for python application in windows > other than electron > -- You received this

Re: No puedo generar qr en django

2019-05-21 Thread Mario R. Osorio
Osman, Un codigo QR no es otra cosa que una forma compacta de representar informacion. Sin embargo, existen varios tipos de codigos QR. Lo primero que tienes que hacer es seleccionar que es lo que vas a representar con el codigo; podria ser simplemente el identificador unico del empleado o,

Re: Generate CUID Client Side

2019-05-17 Thread Mario R. Osorio
This question is OT however; *cuid *being a js library, what you have to do is have your templates include the necessary libraries and make use of them. On Thursday, May 16, 2019 at 9:09:13 AM UTC-4, Timothy Cook wrote: > > I have a project where I want to generate a CUID client side to send

Re: More controls on createsuperuser

2019-04-30 Thread Mario R. Osorio
is a waste of time. Dtb/Gby === Mario R. Osorio B.A.S. of Information Technology Web page: *http;//mario.osorio.solutions <http://http%3B//mario.osorio.solutions>* Email: *mario@osorio.solutions* *Just Choose Python!* <http://www.gentoogeek.org/files/choose_python.pdf> *SQL programme

Re: Create project in windows, but run it in Ubuntu

2019-03-26 Thread Mario R. Osorio
I'm sure you won't regret it. Dtb/Gby === Mario R. Osorio *Just Choose Python!* <http://www.gentoogeek.org/files/choose_python.pdf> *SQL programmers don't die, they just ROLLBACK the TRANSACTION.* On Tue, Mar 26, 2019 at 3:04 PM Chafid Ahmad wrote: > Thanks everyone for the su

Re: Create project in windows, but run it in Ubuntu

2019-03-26 Thread Mario R. Osorio
Of course you can however, IMHO; it is better to use whatever is closest to the real McCoy. Two options I can think of are: 1) Use Docker images. It is not very hard to work with Docker images however, it does add a bit of difficulty to your workload. 2) Use a Linux image in VirtualBox. It

Re: How to display file tree using Django. Help, please!

2019-02-08 Thread Mario R. Osorio
If you're just looking into just presenting trees, you might want to check How TO - Tree View (https://www.w3schools.com/howto/howto_js_treeview.asp) or Bootstrap Tree View (https://github.com/jonmiles/bootstrap-treeview, http://jonmiles.github.io/bootstrap-treeview/) If you are looking for

Re: Django payment through different methods

2019-01-22 Thread Mario R. Osorio
Take a look here: https://djangopackages.org/grids/g/payment-processing/ On Monday, January 21, 2019 at 7:36:23 PM UTC-5, Bikash Saud wrote: > > I'm trying to payment from different methods like paypal, or other way. I > did not have idea please help me > -- You received this message because

Re: Creation of database in real time and loading it in the DATABASES variable of Django;

2019-01-08 Thread Mario R. Osorio
I'm not an expert, but this article seems like a good start: How to Configure Multiple Databases in Django the Simple Way https://strongarm.io/blog/multiple-databases-in-django/ On Monday, January 7, 2019 at 1:49:15 PM UTC-5, Sanderson Carmona wrote: > > Good afternoon, > > I'm using the latest

Re: simple boy start learn python

2019-01-07 Thread Mario R. Osorio
Sorry, I forgot to include the link for the book: https://www.obeythetestinggoat.com/ Dtb/Gby === Mario R. Osorio B.A.S. of Information Technology A.S. of Computer Programming and Analysis Web page: *http;//mario.osorio.solutions <http://http%3B//mario.osorio.solutions>* Email:

Re: simple boy start learn python

2019-01-07 Thread Mario R. Osorio
These are some of the best resources I've ever found on the subject: - - Obey the Testing Goat! (You can buy they book or read it online for free) - TaskBuster Django Tutorial (might be a bit outdated but I'd still go thru it)

Re: Trigger actions independently of url request

2018-10-29 Thread Mario R. Osorio
I'm far from being an expert but I think yours is a rather simple operation that needs to be executed every n minutes. I think that in the case you're explaining, Celery is an overkill. Why not go with a cron job? You might want to create a combination of bash and python scripts to do exactly

Re: Django Produces Python?

2018-06-12 Thread Mario R. Osorio
I've tried multiple managed hosting and they all have limitations that will eventually go against your expansion needs. The best example I can think of is the fact that in most of these services you cannot compile, and some of python's libraries do require compiling. I favor Virtual Private

Re: what does the below mentioned error means and how do i resolve this error.something is wrong with my admin.py file.Please comment:

2018-06-08 Thread Mario R. Osorio
Looks like you skiped a huge part of the tutorial. you might to go back... On Thursday, June 7, 2018 at 11:08:15 AM UTC-4, Avitab Ayan Sarmah wrote: > > In windows powershell: > > ERRORS: > : (admin.E108) The value of > 'list_display[0]' refers to 'question_text', which is not a callable, an >

Re: How do you deal with two third party apps with the same App label?

2018-05-21 Thread Mario R. Osorio
ication-users > > I believe this would solve the ImproperlyConfigured exception as on your > settings.py on your INSTALLED_APPS you would have the apps with different > names. > Hope it helps! > > On Saturday, May 19, 2018 at 10:54:02 PM UTC-3, Mario R. Osorio wrote: >> &g

How do you deal with two third party apps with the same App label?

2018-05-19 Thread Mario R. Osorio
Hello everyone, In Django 2.0.5; I want to use python-twitter and allauth's twitter provider and both these apps use the same App label which results in the *django.core.exceptions.ImproperlyConfigured: Application labels aren't unique* error I have searched the internet and found no

Re: Integrating cryptoassets.core library in django

2018-05-02 Thread Mario R. Osorio
You need to give more details, such as: - Did you PIP the application? - Did you remember to add it to INSTALLED_APPS? On Wednesday, May 2, 2018 at 7:10:31 AM UTC-4, Hitesh Goyal wrote: > > Hi, > I am trying to configure the cryptoassets.core library for bitcoin > applications using

Re: Why was Roberto Rosario silently removed from the Django Software Foundation?

2016-11-13 Thread Mario R. Osorio
*puts on DSF's Outsider hat* (ooops, hes's an outsider anyways) FROM MY PERSPECTIVE AND THE LITTLE DATA I COULD COLLECT: Mr Rosario might just be going through a Morphine down because of the medical procedure he is going through (been there myself!). Some people just have a very bad time out

Re: Running django on demand via my PyQt4 Standalone app

2016-10-25 Thread Mario R. Osorio
Dtb/Gby ======= Mario R. Osorio A.S. of Computer Programming and Analysis Web page: *http;//mario.osorio.solutions <http://http%3B//mario.osorio.solutions>* Email: *mario@osorio.solutions* <mario@osorio.solutions> *Just Choose Python!* <http://www.gentoogeek.org/files/choose_python.pdf

Re: Running django on demand via my PyQt4 Standalone app

2016-10-25 Thread Mario R. Osorio
I cannot understand is why would you need django for admin, but use some other standalone (desktop?) application for everything else. You should try and stay either on the django or on the standalone application. If after further analysis you still think you need both, then I'd use django,

Re: Custom Admin Command

2016-10-16 Thread Mario R. Osorio
Thanks a lot for your help Dylan, Right after writing I noticed my mistake, I was naming the folder my_app/management/command I renamed it my_app/management/commands and voila!. it worked like a charm. Dtb/Gby === Mario R. Osorio A.S. of Computer Programming and Analysis Web page: *http

Re: Custom Admin Command

2016-10-16 Thread Mario R. Osorio
By the way, there are *__init__.py* files in both my_project/my_app/management/ and my_project/my_app/management/command folders ... On Sunday, October 16, 2016 at 9:58:25 PM UTC-4, Mario R. Osorio wrote: > > I am trying to implement a custom admin command. The class is l

Custom Admin Command

2016-10-16 Thread Mario R. Osorio
I am trying to implement a custom admin command. The class is located at mt_project/my_app/management/command/my_command and looks like this: class Command(BaseCommand): help = 'This is my command' def handle(self, *args, **options): ... My app is included in Installed_apps. I think

Re: Add rows in migrations?

2016-10-05 Thread Mario R. Osorio
You can do that with fixtures: https://docs.djangoproject.com/en/1.10/howto/initial-data/ On Tuesday, October 4, 2016 at 7:21:07 PM UTC-4, Victor Porton wrote: > > After generating DB scheme, I need to add two rows with certain data to > certain table. > > How to do it? > > Can it be handled

Re: HTTP2 Server Push with Django?

2016-06-28 Thread Mario R. Osorio
Here are some resources: - Django Push HTTP Response to users - Django Packages - django-push-notifications

Re: Looking for ways to improve my skills

2016-04-03 Thread Mario R. Osorio
Hi Devrhoid, I'm not an expert myself but, as with anything else; it is nothing but your own needs that will improve your knowledge. I can recommend what I think is the very best Django tutorial EVER, bar none ( http://www.marinamele.com/taskbuster-django-tutorial) It does, however introduce

Re: Development of web based image processing package

2016-03-10 Thread Mario R. Osorio
I know nothing about the subject, but I stumbled upon this article I think might be useful in your endeavor: Fundamentals of Image Processing - behind the scenes On Thursday, March 3, 2016 at

Re: Python on the web

2016-03-09 Thread Mario R. Osorio
There you are: http://hlevkin.com/Shell_progr/hellopython.htm Please send the $20 to my paypal account... On Monday, March 7, 2016 at 10:51:53 AM UTC-5, Gregg Turner wrote: > > Hey, > > Need a simple python script put into a website. It uses the requests > module. > > $20? Any takers? > --

Re: Kind'a TL, but please DR - Need your thoughts

2016-02-01 Thread Mario R. Osorio
> > y So this is effectively a feed aggregation engine. I would recommend > having a separate daemon running per media source, so that issues with one > media source do not affect the operations of another. > I never would have thought of this application as a feed aggregation engine, but

Re: Kind'a TL, but please DR - Need your thoughts

2016-02-01 Thread Mario R. Osorio
> > I suggest that you use Celery. > A very useful tip! > > If people are making HTTP requests of you, that is reason enough to choose > Django. > Well, let me put it this way; I felt in love with Python almost 7 years ago, but when I met Django, this love turned into an obsession you see;

Re: Kind'a TL, but please DR - Need your thoughts

2016-02-01 Thread Mario R. Osorio
I understand HTTP requests are short lived, I just could not figure out how to handle the possible long responses, I' m rather new to python AND to web programming and when I start mixing things like WSGI my brain just burst. I know about celery, just never thought it would be my allied in this

Re: Kind'a TL, but please DR - Need your thoughts

2016-02-01 Thread Mario R. Osorio
Thanks to each and every one of you for the VERY HELPFUL recommendations you have given me (Avraham Serour, ke1g & James Schneider so far) I really got back more than I expected, but as I told a friend of mine; it was worth every minute of the almost 4 hours it took me to redact this question,

Kind'a TL, but please DR - Need your thoughts

2016-01-31 Thread Mario R. Osorio
I need comments on an application I have been recently proposed. The way it is being envisioned at this moment is this: One python daemon will be listening for different communications media such as email, web and SMS (web also). IMHO, it is necessary to have a daemon per each media. This

Re: How to show a list of products as checkboxes?

2016-01-08 Thread Mario R. Osorio
Hmmm... not THE expert here , but it looks like your original question is not properly stated as you asked about checkboxes and did NOT mention radio buttons. They might look very much alike but are 2 very different controls, with very different behavior and uses. On Thursday, January 7, 2016

Re: Choice and choice

2016-01-06 Thread Mario R. Osorio
Choice is a class and choice is an instance of that class. You might want to check your knowledge of python before trying django... On Wednesday, January 6, 2016 at 8:07:16 AM UTC-5, 林攀 wrote: > > > dear: > in djano the first app what is difference between Choice and > choice ? I

Re: I want to make todo List

2015-09-27 Thread Mario R. Osorio
Ram, are you doing this for homework?? On Saturday, September 26, 2015 at 6:46:56 AM UTC-4, Ram Lakhan Agarwal wrote: > > I want step by step procedure to make todolist > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Búsquedas en una aplicacion

2015-07-06 Thread Mario R. Osorio
Carlos, este grupo es en inglés. Puedes buscar duda en español en: https://mail.python.org/mailman/listinfo/python-es Yo no te ayudo porque no tengo experiencia en el tema además, tu pregunta es un poco escueta. Falta mucha información -- You received this message because you are subscribed

Búsquedas en una aplicacion

2015-07-06 Thread Mario R. Osorio
Carlos, este grupo es en inglés. Puedes buscar duda en español en: https://mail.python.org/mailman/listinfo/python-es Yo no te ayudo porque no tengo experiencia en el tema además, tu pregunta es un poco escueta. Falta mucha información -- You received this message because you are subscribed

Búsquedas en una aplicacion

2015-07-06 Thread Mario R. Osorio
Carlos, este grupo es en inglés. Puedes buscar duda en español en: https://mail.python.org/mailman/listinfo/python-es Yo no te ayudo porque no tengo experiencia en el tema además, tu pregunta es un poco escueta. Falta mucha información -- You received this message because you are subscribed

Re: Host a web application

2015-04-22 Thread Mario R. Osorio
www.pythonanywhere.com made it easier for me to deploy than heroku On Wednesday, April 22, 2015 at 2:25:56 AM UTC-4, Kishan Mehta wrote: > > Hi , > > I have to show my web application project work to a potential employer. > Is it possible to host the demo somewhere? Any guide on this? > >

Re: inicio en django

2014-07-27 Thread Mario R. Osorio
No se si te mencione virtualenvwrapper que, aunque no es imperativo, te va a facilitar mucho la vida. On Saturday, July 26, 2014 4:10:37 PM UTC-4, juantonio v wrote: > > hola tengo el Django-1.6.5.tar.gz de django, ahora como lo instalo? > > > gracias! > -- You received this message because

Re: inicio en django

2014-07-27 Thread Mario R. Osorio
En primer lugar, no hace falta que vayas a pagar ningun curso de $95, eso es pura mierda. Especialmente habiendo TANTOS RECURSOS GRATIS sobre django en toda la internet. Por supuesto que el 80% quizas sea en ingles. Desconozco tu experiencia, pero antes de comenzar a trabajar con django, es

Need help with pushing technology ... and a bit more ...

2014-01-27 Thread Mario R. Osorio
once I figure out what are you talking about :) I will really appreciate and and all comments, ideas and recommendations … even epithets! Thanks a lot in advanced! Mario R. Osorio -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Which Real Time Communications Protocol

2014-01-08 Thread Mario R. Osorio
Thanks to both of you On Jan 8, 2014 11:08 AM, "Nikolas Stevenson-Molnar" wrote: > Thank you, that's a very good point! I'm so used to thinking about > Django in the context of the request/response cycle that I didn't think > about pairing it with a websocket framework to

Re: Which Real Time Communications Protocol

2013-12-30 Thread Mario R. Osorio
Thanks! Dtb/Gby === Mario R. Osorio "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford http://www.google.com/profiles/nimbiotics On Fri, Dec 20, 2013 at 12:49 PM, Bill Freeman <ke1g...@gmail.com> wrote: > WebSockets runs

Re: Which Real Time Communications Protocol

2013-12-20 Thread Mario R. Osorio
Thanks a lot Serge! Dtb/Gby === Mario R. Osorio "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford http://www.google.com/profiles/nimbiotics On Fri, Dec 20, 2013 at 12:01 PM, Sergiy Khohlov <skhoh...@gmail.com> wrote: >

Re: Django Tutorials

2013-10-28 Thread Mario R. Osorio
like what I read! Dtb/Gby === Mario R. Osorio "... Begin with the end in mind ..." http://www.google.com/profiles/nimbiotics On Mon, Oct 28, 2013 at 12:38 PM, Nigel Legg <nigel.l...@gmail.com> wrote: > Cool, I'll take another look at it then. > > Cheers, Nigel >

Re: View not working / how can I test it in the shell?

2013-10-13 Thread Mario R. Osorio
Thanks Kelvin Dtb/Gby === Mario R. Osorio "... Begin with the end in mind ..." http://www.google.com/profiles/nimbiotics On Sun, Oct 13, 2013 at 12:34 AM, Kelvin Wong <wongo...@gmail.com> wrote: > You need to understand what ALLOWED_HOSTS does if you want to ever deploy

Re: View not working / how can I test it in the shell?

2013-10-11 Thread Mario R. Osorio
>From the server; I am getting the page I need but the block where the data from the view in question is supposed to be comes out empty. >From the django.test.client's Client() response.status.code is 200. I am indeed geting the ALLOWED_HOSTS warning, which I don't fully understand and don't