Re: No module named django.core.wsgi, Apache+ CentOS

2019-01-16 Thread ANi
Thank you and after facing so much mysterious(at least to me) errors, I failed to install it through pip(I have no idea why) so I tried to get it from compiling the source code, and it failed as well. I started over and install python through the repository rather than source code, and I compile

Re: Installed Python 3.7; installed Django 2.1.5. Django folder open, now what?

2019-01-16 Thread Gilbeesh Kosma
You sure you are using python3.7 to run the django local server?. It will be like "python3.7 manage.py runserver". If your system contains more than one version of python ,then it is good to run server like this. Also make confirm that django is installed for python3.7 On Jan 17, 2019 4:06 AM,

Re: Installed Python 3.7; installed Django 2.1.5. Django folder open, now what?

2019-01-16 Thread ANi
What commands have you done so far? LinkSnakeGeralt於 2019年1月17日星期四 UTC+8上午6時37分03秒寫道: > > Hi everyone > > First timer, > > Basically what the post says; I have installed it, tried running it > through the Terminal of the MacBook Pro I have. But it did not recognise > any module called Django. >

Re: Installed Python 3.7; installed Django 2.1.5. Django folder open, now what?

2019-01-16 Thread LinkSnakeGeralt
Gracias Daniel, Unfortunately I do not have the pleasure of understanding Spanish. I have kept looking around with other (English) YouTube videos whilst awaiting further replies but the videos all seem to be really far ahead and have Django already up and running. Still stuck :S LSG On

Re: Installed Python 3.7; installed Django 2.1.5. Django folder open, now what?

2019-01-16 Thread Ing.Daniel Bojorge
If you could understand spanish, you could take my course... Dios L@s Bendiga Saludos, [image: --] daniel.bojorge [image: http://]about.me/daniel.bojorge *Curso Desarrollo Web con Python usando Django 2.1 Para Principiantes*

Re: Single Sign On (SSO) across multiple django projects

2019-01-16 Thread Dennis Sepeur
thanks ruben On Wednesday, January 16, 2019 at 9:48:16 AM UTC-8, Ruben Alves wrote: > > I had to do the same in the company I work for recently and after some > investigation we decided to use OpenID Connect: > http://django-oidc-provider.readthedocs.io > > > Em quarta-feira, 16 de janeiro de

Installed Python 3.7; installed Django 2.1.5. Django folder open, now what?

2019-01-16 Thread LinkSnakeGeralt
Hi everyone First timer, Basically what the post says; I have installed it, tried running it through the Terminal of the MacBook Pro I have. But it did not recognise any module called Django. So I went online and did a bit of digging and realised I have the folder (as shown from screenshot

Re: NoReverseMatch at / '' is not a registered namespace

2019-01-16 Thread Gilbeesh Kosma
use this: path(' ',include('core.urls')) On Jan 17, 2019 12:50 AM, "Thiago Brito" wrote: > Hi > > I'm beginner in django and i got this error. > > [image: image.png] > > urls.py > [image: image.png] > > my app.urls.py > [image: image.png] > > and my html file > [image: image.png] > > and views >

NoReverseMatch at / '' is not a registered namespace

2019-01-16 Thread Thiago Brito
Hi I'm beginner in django and i got this error. [image: image.png] urls.py [image: image.png] my app.urls.py [image: image.png] and my html file [image: image.png] and views [image: image.png] How can i fix it? any idea? -- You received this message because you are subscribed to the

Seeking suggestions on how shall i begin to contribute

2019-01-16 Thread Harsh Agarwal
hello , I am new here and i also want to contribute to this project . Can anyone please help me on how should i begin to contribute? -- 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

Re: Overriding Save in Model

2019-01-16 Thread caleoroco
Thanks, I did say i was only two weeks into learning python and Django. I'm sure in a few months, maybe weeks or even days, i'll look back at my code and say wtf On Wednesday, 16 January 2019 17:21:24 UTC, Matthew Pava wrote: > > You’re converting an object (ExtractResult) into a list. That’s

Re: Single Sign On (SSO) across multiple django projects

2019-01-16 Thread Ruben Alves
I had to do the same in the company I work for recently and after some investigation we decided to use OpenID Connect: http://django-oidc-provider.readthedocs.io Em quarta-feira, 16 de janeiro de 2019 04:14:18 UTC, Dennis Sepeur escreveu: > > Hi, I've developed an monolithic django project

modeltranslation

2019-01-16 Thread אורי
Hi, We are using modeltranslation in Speedy Net. We currently use it in 2 models - User and SiteProfile of Speedy Match. We currently support 2 languages - en (English) and he (Hebrew). I checked the (local) tables and I found out that every field that we use modeltranslation for, such as

RE: Overriding Save in Model

2019-01-16 Thread Matthew Pava
You’re converting an object (ExtractResult) into a list. That’s just weird. ext = tldextract.extract(domain) self.sub_domain = ext.subdomain self.domain = ext.domain self.suffix = ext.suffix Saying that, I would rather use the built-in, Pythonic way of parsing

Re: Log into existing Django site

2019-01-16 Thread Alex Heyden
The last Mac I owned had 512kB of memory and no hard drive, but it did have that newfangled 3.5" floppy drive. The wider internet probably knows. You might try https://accc.uic.edu/answer/how-do-i-use-ssh-and-sftp-mac-os-x On Wed, Jan 16, 2019 at 9:41 AM TheShoff wrote: > Also, how would I

Re: Overriding Save in Model

2019-01-16 Thread caleoroco
thanks, i've got tldextract which is sufficient for splitting the domain up the problem is I cannot save the individual parts and only end up saving the domain name On Wednesday, 16 January 2019 16:55:42 UTC, Matthew Pava wrote: > > Check out urllib.parse. > >

RE: Overriding Save in Model

2019-01-16 Thread Matthew Pava
Check out urllib.parse. https://docs.python.org/3/library/urllib.parse.html From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On Behalf Of caleor...@gmail.com Sent: Wednesday, January 16, 2019 10:41 AM To: Django users Subject: Overriding Save in Model I'm trying to

Overriding Save in Model

2019-01-16 Thread caleoroco
I'm trying to extract an entered domain name and split it up so that i can store unique domains in a specific table The flow user will enter website address > model takes website address > splits it into sub_domain, domain and suffix and stores the values in the appropriate split fields so far

Re: Best Learning Resources

2019-01-16 Thread caleoroco
Thanks On Wednesday, 16 January 2019 13:35:26 UTC, Godson Rapture wrote: > > Check out the book "django for beginners " > > On Wed, Jan 16, 2019, 2:19 PM > wrote: > >> Hi All, >> >> I'm just starting out with Django and python and wondering if anyone can >> direct me to some goto learning

Re: Log into existing Django site

2019-01-16 Thread TheShoff
Also, how would I access the server with SSH (I have a MAC and can use Terminal)? I have already set up private and public keys and provided the public key to the hosting provider, however I used FTP to login into the server. Do you know how I would go about logging in with Terminal? On

Re: Log into existing Django site

2019-01-16 Thread TheShoff
That makes sense. Thanks Alex! On Tuesday, January 15, 2019 at 7:59:24 PM UTC-7, Alex Heyden wrote: > > The server that is hosting the site. The one you're trying to FTP onto. > Your quality of life will be greatly improved if you can SSH onto the > machine rather than using FTP, because the

Re: python manage.py runserver is throwing error in windows

2019-01-16 Thread Nigel Copley
You'll need to fix the syntax error %s=%s' % (k, v) for k, v wherever it is in your code On Wed, 16 Jan 2019, 13:20 Imran, wrote: > Hi, > > I have installed Django 1.11.7 in my windows 7 machine. I am getting the > following error when i run python manage.py runserver. Is there a > workaround

Re: How To Set Up Django with Postgres, Nginx, and Gunicorn on DIGITAL OCEAN

2019-01-16 Thread Mohammad Shareef M
thank you Thanks & Regards, Mahammad Shareef M +919741482617 +971581756035 On Wed, Jan 16, 2019 at 5:20 PM wrote: > this should help > > https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html > > On Wednesday, 16 January 2019 07:53:31 UTC, Shareef 617

Re: Best Learning Resources

2019-01-16 Thread Godson Rapture
Check out the book "django for beginners " On Wed, Jan 16, 2019, 2:19 PM wrote: > Hi All, > > I'm just starting out with Django and python and wondering if anyone can > direct me to some goto learning resources. Beginner to Advanced > > Thanks > > -- > You received this message because you are

python manage.py runserver is throwing error in windows

2019-01-16 Thread Imran
Hi, I have installed Django 1.11.7 in my windows 7 machine. I am getting the following error when i run python manage.py runserver. Is there a workaround to fix it? Unhandled exception in thread started by .wrapper at 0x033EA9C0> Traceback (most recent call last): File

Re: How To Set Up Django with Postgres, Nginx, and Gunicorn on DIGITAL OCEAN

2019-01-16 Thread caleoroco
this should help https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html On Wednesday, 16 January 2019 07:53:31 UTC, Shareef 617 wrote: > > How To Set Up Django with Postgres, Nginx, and Gunicorn on digital ocean > -- You received this message because you

Re: How To Set Up Django with Postgres, Nginx, and Gunicorn on DIGITAL OCEAN

2019-01-16 Thread Nur Mohsin
You can follow this tutorial. https://simpleisbetterthancomplex.com/tutorial/2016/10/14/how-to-deploy-to-digital-ocean.html Thanks. -- 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

Best Learning Resources

2019-01-16 Thread caleoroco
Hi All, I'm just starting out with Django and python and wondering if anyone can direct me to some goto learning resources. Beginner to Advanced Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Can a class which inherits from factory.DjangoModelFactory use Django TestCase asserts?

2019-01-16 Thread אורי
Hi Michal, I test the models and not the factories. The factories in this case are only used for testing, they are not used in production. And I prefer to test the factory every time it is invoked even if it means the tests will take more time to complete. Anyway, in this case the solution I

Re: Problem with testing on Travis CI

2019-01-16 Thread אורי
Thank you Michal, I was not aware of this issue. I fixed it and committed again - https://github.com/speedy-net/speedy-net/commit/6570e00edb9d58c8d855f8b7ea6a8129c774eb33. Thanks for your help! Thanks, אורי (Uri) u...@speedy.net On Wed, Jan 16, 2019 at 11:39 AM Michal Petrucha <

Re: tasks queues - why a broker and not the DB?

2019-01-16 Thread Olivier Dalang
So, unless the project has a really enormous amount of tasks, there's no other reason than not overload the db ? I'm a bit surprised as I feel like for most projects, reading/writing the tasks queue represents a very small load compared to regular db access. In the meantime, I found about

Re: No module named django.core.wsgi, Apache+ CentOS

2019-01-16 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Tue, Jan 15, 2019 at 08:04:23PM -0800, ANi wrote: > Hey guys. Maybe consider asking not just the guys next time. ;) > I am trying to deploy my Django project on CentOS 7 with Apache. > and I got an error of *ImportError: No module named

Re: Problem with testing on Travis CI

2019-01-16 Thread Michal Petrucha
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 On Wed, Jan 16, 2019 at 09:11:47AM +0200, אורי wrote: > Hi, > > I recently have problems with testing my project on Travis CI. Tests > started to fail 2 days ago. The error message is > `psycopg2.OperationalError: FATAL: database "speedy" does not

Fwd: channnels -- communication with redis

2019-01-16 Thread Yuval Bachrach
Trying one more time: I don't see my response at my inbox so others may not have it as well... (Tried to respond right after getting your response, however, I have my message in "sent items" but nothing more... I wonder if there is a filter I managed to hit having my response blocked... Si I will

Issue with sharing messages in this forum

2019-01-16 Thread Yuval Bachrach
I I have submitted a question and got a response that included some questions. I have tried to answer it (a reply with gmail to " django-users@googlegroups.com": I have the message at sent item but it does not show up at the forum. I thought there might be an automated filter that I managed to

Re: channnels -- communication with redis

2019-01-16 Thread Yuval Bachrach
(Tried to respond right after getting your response, however, I have my message in "sent items" but nothing more... I wonder if there is a filter I managed to hit having my response blocked... Si I will re-write:) Thank you! I have installed docker on my PC and I run it locally. At setting.py I

Projects in django

2019-01-16 Thread Nitin Kumar
Hi, I have an year of experience working in python and django. I am looking for some projects in django for remote work. Regards, Nitin Kumar -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving