Re: What is the best combination of components when installing Django on Windows 10?

2016-12-27 Thread roboslone
Both nginx and Apache are cross-platform, so you could run them on Windows as your front-end servers. You can't use gunicorn and it's not recommended to use uWSGI on Windows (http://stackoverflow.com/questions/21071494/how-to-run-django-with-nginx-on-a-windows-machine

Re: starting django

2016-12-27 Thread roboslone
Server is obviously running, you wouldn't get Django-styled 404 page with your URLconf otherwise. The problem is you're trying to access /pOOls instead of /poLLs. > On 27 Dec 2016, at 17:18, kabangufut...@gmail.com wrote: > > Hello, > 1. check you server to see if is running by typing this in s

Re: Experiences/tips for deploying and supporting on-premise in enterprises?

2016-12-27 Thread M Hashmi
Todd, This is django presenting complete Cloud architecture to end user connected to the core hardware structure at backend. You get registered for example and spin up a VM, so the signals will get your site session connected to the core datacenter implementations to complete the task. I remember

Re: Authentication for mobile devices

2016-12-27 Thread Chris Bartos
Hi Deep, In order to authenticate on mobile applications, you'll need to create an REST API and authenticate using Token Authentication or OAuth2 Authentication (Social Media: Google, Facebo

Re: Django REST Authenticate with Session in external app

2016-12-27 Thread Chris Bartos
Hello there! Although you COULD use Session Authentication to authenticate users from external clients. I don't recommend it. It's going to be a pain. Instead what I recommend is using eit

Re: Django using Netbeans

2016-12-27 Thread Foridur Kayes Shawon
Why you actually need Netbeans for django??? There are several other IDE like Pycharm from jetbrains. You can also use vim with required available plugins. This would be really nice for django. regards kayes On Sunday, December 25, 2016 at 8:06:39 PM UTC+6, Kazi Atik wrote: > > > I just want to

Re: What is the best combination of components when installing Django on Windows 10?

2016-12-27 Thread Karen Tracey
On Tue, Dec 27, 2016 at 11:59 AM, bart wrote: > Don't u se Windows! > > Please stop answering like this, this is the 2nd time you've provided an answer of essentially "just don't do it" to a valid question. Windows may not be where you would ever choose to deploy something, but there are perfectl

Re: Experiences/tips for deploying and supporting on-premise in enterprises?

2016-12-27 Thread Todd Schiller
Thanks - I intentionally left it vague, as I'd like to better understand the space of options when working with Python + Django and where headaches might arise. I suspect there are aspects that seem straightforward, but end up being a headache for certain environments. The main application is C

Re: What is the best combination of components when installing Django on Windows 10?

2016-12-27 Thread bart
Don't u se Windows! Wysłano z telefonu Samsung Oorspronkelijk bericht Van: "Ali Rıza P. Bayrı" Datum: 27-12-16 15:54 (GMT+01:00) Aan: django-users@googlegroups.com Onderwerp: Re: What is the best combination of components when installing Django on Windows 10? My current en

Re: How to display user's photo that i follow in post's list in Django

2016-12-27 Thread Andrew Beales
If I'm following correctly and you want to access author profile photos from querysets of Post objects: if you add related_name=‘profile’ to the user field in the Profile model then you can add a method to the Post model: def author_profile_photo(self): return self.author.profile.photo and

Re: What is the best combination of components when installing Django on Windows 10?

2016-12-27 Thread Ali Rıza P . Bayrı
My current environment for Windows 10 : Django 1.10 Python 3.4 Visual Studio 2015 community edition with PTVS MS SQL Express 2012 and Azure for deployment Sent with Mailtrack 2016-12-26 21:

Re: Django project beginner

2016-12-27 Thread imed chaabouni
Yea, I just discovered it, and it's a great tuto, about a blog building, especially for beginners. Le mardi 27 décembre 2016 09:59:25 UTC+1, Antonis Christofides a écrit : > > Except for the ones that have been mentioned, some people seem to like the > Django Girls tutorial (I have no opinion).

Re: starting django

2016-12-27 Thread kabangufuture
Hello, 1. check you server to see if is running by typing this in shell: python manage.py runserver On Thursday, December 22, 2016 at 6:32:08 PM UTC+2, Giovanni Oliverio wrote: > > > Hello, I'm following the guide at the following link: > https://docs.djangoproject.com/en/1.10/intro/tutorial01

Subclassing Models in non model class

2016-12-27 Thread M Hashmi
Hi All, I created a model Address like a normal practice below. Now I need to create a subclass without using models.Model. But its not letting me do because obviously it won't create tables unless I call models.Model in class parameters. Idea is to create a model and use that model with non db r

Re: installed apps

2016-12-27 Thread Rasika
Thank you so much On Tuesday, December 27, 2016 at 3:55:21 PM UTC+5:30, Rasika wrote: > > hello all > my question is,on my system where all installed apps are located by django. > If i want to modify those where I can find those like admin app,auth app > etc. > and how the auth_user table saves

Re: starting django

2016-12-27 Thread Giovanni Oliverio
ops ! Il giorno giovedì 22 dicembre 2016 17:34:20 UTC+1, Antonis Christofides ha scritto: > > You typed pools instead of polls in your browser. > > Antonis Christofideshttp://djangodeployment.com > > > On 12/22/2016 06:29 PM, Giovanni Oliverio wrote: > > > Hello, I'm following the guide at the f

Re: installed apps

2016-12-27 Thread M Hashmi
All your files at your system are located in site-packages folder. Whatever you installed even Django itself is located there. In case you need to override any method you need to subclass the original model to alter its behavior. www.djangoproject.com provides to detail documentation about how to w

Re: Experiences/tips for deploying and supporting on-premise in enterprises?

2016-12-27 Thread M Hashmi
I was part of dinCloud hosting provider and they have complete solution built in Python/Django. You can see the website where all the VM's architecture is built using django framework. Its a cloud hosting provider with few enterprise applications provided as Saas and hardware monitoring with NOC Pa

installed apps

2016-12-27 Thread Rasika
hello all my question is,on my system where all installed apps are located by django. If i want to modify those where I can find those like admin app,auth app etc. and how the auth_user table saves the superuser and the user created by admin for this i have to understand the admin app first. than

Re: Experiences/tips for deploying and supporting on-premise in enterprises?

2016-12-27 Thread Antonis Christofides
Hi, The solutions depend on what you need and what knowledge and resources you already have. As you describe it I think it's a bit vague. For example, whether you will deploy on metal or on VM depends on what load you expect, who administers the VM, who administers the metal, and so on and so on.

Re: Error since added SSL certificate

2016-12-27 Thread Antonis Christofides
Although, as François explained, Django's behavior is normal, such requests should normally be stopped by the web server and not by Django. Maybe you haven't correctly specified server_name (in nginx) or ServerName/ServerAlias (in Apache), or maybe you somehow made the configuration the default for

Re: Django project beginner

2016-12-27 Thread Antonis Christofides
Except for the ones that have been mentioned, some people seem to like the Django Girls tutorial (I have no opinion). Antonis Christofides http://djangodeployment.com On 12/26/2016 01:39 PM, imed chaabouni wrote: > Hi everyone, > I'm about to make my first project with Django as an end-of-year pr

Re: Django project beginner

2016-12-27 Thread imed chaabouni
Thanks :) Le mardi 27 décembre 2016 03:26:36 UTC+1, apoorvap...@gmail.com a écrit : > > Well you can follow the official Django documentation > or follow the tutorial to > create first Django project. >

Re: Django project beginner

2016-12-27 Thread imed chaabouni
Thank you :) Le lundi 26 décembre 2016 15:27:25 UTC+1, hai luo a écrit : > > you could follow the steps in django site,if you want to find a project > ,go to github,there is a nice project "bootcamp". > > Good luck! > > 在 2016年12月26日星期一 UTC+8下午7:39:25,imed chaabouni写道: >> >> Hi everyone, >> I'm