Re: No installed app with label 'province'.

2017-02-09 Thread Gerald Brown
On Wednesday, February 8, 2017 at 7:09:12 AM UTC+8, Gerald Brown wrote: > > I have just started an app on Ubuntu 16.04 Server using Python 3.5 and > Django 1.10.5. > > When I do "@admin.register(Province)" in my admin.py file I get the error > that is the subject of this post. > > Of course the

Re: No installed app with label 'province'.

2017-02-09 Thread Florian Schweikert
On 09/02/17 14:01, Gerald Brown wrote: > Because of this problem I am NOT able to proceed with my project so any > and all help will be appreciated. Maybe somebody could help you if you provide more information about what you are doing. Following information could give some starting points for in

Django Subdomains

2017-02-09 Thread Omar Sarmiento Rolo
Hi, I need to make in my web dinamic subdomain, a subdomain for each user, but I have no idea how make it I am using the Site Framework but it does work for subdomain, just Domain, at least for me!, I am using Django 1.10 in Windows 7, I have been seing the django-subdomains but it does work fo

Re: Django Subdomains

2017-02-09 Thread Uri Even-Chen
in Speedy Net we have a subdomain for each language, you can see how it works. Only the domain (speedy.net) is defined in the database, any subdomain redirects to one of the defined subdomains. You can check your database for username and display data according to the user when the subdomain is a u

Re: Django Subdomains

2017-02-09 Thread Omar Sarmiento Rolo
I have been able to download the project yet because of my internet conecction, I will, and after I write about it, thanks 2017-02-09 17:14 GMT+01:00 Uri Even-Chen : > in Speedy Net we have a subdomain for each language, you can see how it > works. Only the domain (speedy.net) is defined in the d

Re: How to configure client side SSL trusted CA certificate ?

2017-02-09 Thread Gang Yang
Hi, Panjah, Appreciate your help. I've tried all those options, but none worked. It turned out that the init script in init.d for the server (written by a different party) is using "su -" to start a new login shell clearing all env vars. Whatever that was set in the init script and /etc/default

How install Django in PyCharm Community edition?

2017-02-09 Thread SÅ‚awomir Gontarek
How install Django in PyCharm Community edition? -- 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 post to this group

Re: Tutorial part 4 help: the raidio buttons to make a choice on the polls question won't show.

2017-02-09 Thread Brady Lee
The "polls_choice" table in database file db.sqlite3 has no records, so no radio buttons show up. I manually added 2 records to the "polls_choice" table, then I have the radio buttons showed up. On Tuesday, February 7, 2017 at 6:17:58 PM UTC+8, ludovic coues wrote: > > Have you added some choi

Cannot install channels

2017-02-09 Thread Robin Lery
Hi, I already had a django channels in my other virtual env. But since its an older version of channels (0.7.0) I am trying to install a new channel version into my project which is in a different virtual environment inside a a vagrant box. I created a new virtualenv > $ mkvirtualenv newsapp >

Re: Cannot install channels

2017-02-09 Thread Andrew Godwin
You don't have the Python development headers installed for your system - you can tell this because of this line in the error: src/twisted/test/raiser.c:4:20: fatal error: Python.h: No such file or directory If you install your distribution's python header package (e.g. on ubuntu it's python-dev)

Re: Cannot install channels

2017-02-09 Thread Robin Lery
Yes that was it. Thank you. Could you please help me understand why this might have worked before in a earlier different virtual env in the same vagrant machine? On Fri, Feb 10, 2017 at 12:28 PM, Andrew Godwin wrote: > You don't have the Python development headers installed for your system - > y

Re: Cannot install channels

2017-02-09 Thread Andrew Godwin
I'm afraid I can't help without looking at the machine directly - I would suspect that either it had a version of Twisted pre-installed on the system that it was happy with (the more recent releases increased the Twisted version requirement), or the version of Twisted it downloaded did not require

Re: Cannot install channels

2017-02-09 Thread Robin Lery
Yes. That might have been the problem. Thank you once again! On Fri, Feb 10, 2017 at 12:43 PM, Andrew Godwin wrote: > I'm afraid I can't help without looking at the machine directly - I would > suspect that either it had a version of Twisted pre-installed on the system > that it was happy with (