Re: Django deployement Apache

2017-08-26 Thread Vernon Swanepoel
Hello Sarfaraz, A couple things you could look at: 1. Are you including both your site-packages (eg python3.6/lib/site-packages) and your django project root (where you actually built the project) in your WSGIPythonPath? String them together with a clone (/path/to/python3.6/li

Re: Build Django Blog

2017-08-26 Thread Vernon Swanepoel
Hello Zayden, I don't often comment here, but I've build a number of blog type apps, and I'm currently looking at building a blog for a Python society in my area, so it's something I've been thinking about. Clearly, there are other options other than Django if your goal is to set up a blog eas

Re: Python and Django traing

2017-08-26 Thread Mark Phillips
correction - https://www.obeythetestinggoat.com/ On Sat, Aug 26, 2017 at 5:55 PM, Gerardo Palazuelos Guerrero < gerardo.palazue...@gmail.com> wrote: > Hi, > I'm on the same situation, still learning. > > Besides the ones mentioned (I specially liked a lot the DjangoGirls > tutorial), there quite

Re: Python and Django traing

2017-08-26 Thread Gerardo Palazuelos Guerrero
Hi, I'm on the same situation, still learning. Besides the ones mentioned (I specially liked a lot the DjangoGirls tutorial), there quite few others where you can continue your progress. Let me suggest you to visit the twoscoopofdjango (I hopes name is correct) site, then navigate to Resources

Re: Build Django Blog

2017-08-26 Thread Gerardo Palazuelos Guerrero
Hi Zayden, I don't have an answer for your question. But seems you need a definition and conceptual idea of what a blog should be. If that is the case, maybe you want to check what the Wordpress Post features are or buddy press features. The are quite few systems providing those features. Rega

Re: Python and Django traing

2017-08-26 Thread Jani Tiainen
Hi. I would suggest to take a look at official tutorial. Django Girls does have very good tutorial. 27.8.2017 0.27 "AFSungo" kirjoitti: > Hi, > > I am beginner and want know: > > Where can I find an online and remote class to learn Django?? > > > -- > You received this message because you are

Re: Python and Django traing

2017-08-26 Thread yingi keme
Check google and download this pdf "Definitive Guide to Django". But hope you are good in python language? Yingi Kem > On 26 Aug 2017, at 10:25 PM, AFSungo wrote: > > Hi, > > I am beginner and want know: > > Where can I find an online and remote class to learn Django?? > > > -- > You re

Build Django Blog

2017-08-26 Thread Zayden Rosario
Currently, I am a beginner who hardly knows how to create a post, I want to know what are the requirements to create a fully featured blog (Ex: supports edits from multiple users, post can have multiple tags, create my own administration page ..etc) please keep in mind that I know these resourc

Python and Django traing

2017-08-26 Thread AFSungo
Hi, I am beginner and want know: Where can I find an online and remote class to learn Django?? -- 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+un

Re: Django deployement Apache

2017-08-26 Thread sarfaraz ahmed
Hey Team, Please someone help. I am still getting error * ImportError: No module named django.core.wsgi*mentioned below is my latest vhost file in ubuntu. WSGIScriptAlias / /var/www/firstweb/firstweb/wsgi.py ServerName firstweb.com ServerAlias www.firstweb.com

Re: Best way to implement a more complex user registration/auth flow?

2017-08-26 Thread Eduardo Balbinot
You could do like this: when the user signs in you create the user in the database and flags is_active as False, so the user won't be able to log in. In your extended User model you could have another flag like has_confirmed_email which you also set to False. When the user confirms the email you

Re: Best way to implement a more complex user registration/auth flow?

2017-08-26 Thread Eduardo Balbinot
You could do like this: when the user signs in you create the user in the database and flags is_active as False, so the user won't be able to log in. In your extended User model you could haverá -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Django deployement Apache

2017-08-26 Thread sarfaraz ahmed
i have made following changes in my vhost conf file and now services run. Also, I don't see any error. But instead of default django page I get default apache page. Here is my new conf file. - ServerName firstweb.com

Re: Polls tutorial suggested mysite/mysite/urls.py improvement

2017-08-26 Thread Derek
Mike Not sure what your github skill level is; but have you considered making a clone of the docs (https://github.com/django/django/blob/master/docs/), changing that page (https://github.com/django/django/blob/master/docs/intro/tutorial01.txt) and then submitting your changes as a new pull req

Django deployement Apache

2017-08-26 Thread sarfaraz ahmed
Hello Friends, Please help me with this. I am new to linux and I am attempting to deploy my trial app on AWS ubuntu server. my vhost file looks like this WSGIScriptAlias / /var/www/firstweb/firstweb/wsgi.py WSGIPythonPath /var/www/firstweb ServerName firstweb.com

Is some problem in field options 'null'?

2017-08-26 Thread Jinwen
I read the document about field options 'null'. It is said that. If True, Django will store empty values as NULL in the database. Default is > False. > > Avoid using null >

Best practices on running functional tests against the staging server when data initialization is needed?

2017-08-26 Thread Jad Sayegh
I'm working on writing functional tests for an web application I'm building. I'm fairly new to testing and trying to get to grips with best practices. The application has a moderate amount of complexity, and I'm trying to write a functional test for a process that is part of a bigger process.

Re: Polls tutorial suggested mysite/mysite/urls.py improvement

2017-08-26 Thread Jim Fuqua
I agree. Anyone experienced in Django would not be confused. I have been away from Python for over ten years and totally new to Django. There are a number of such issues in the tutorial that got me "off track". A useful feature for the total novice would be a link to a folder with a corre

Add Web Service Reference Django project

2017-08-26 Thread Anar Novruzaliyev
I need to add web reference and use it in my Django project , How I can do it or it is possible? -- 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+un

Polls tutorial suggested mysite/mysite/urls.py improvement

2017-08-26 Thread Mike Dewhirst
A potential new Django user (a programmer of many decades experience) tried Django at my suggestion and struck a problem. Eventually he tracked me down and challenged me to prove the problem. I found the problem and feel that the Polls tutorial docs can be easily improved. https://docs.djang