Re: Apache file permission, wont let me edit file

2008-06-02 Thread Thierry Schork
You have to be the "root" user of the server to do that. Use the "su" command (or "sudo bash" if sudo is intalled) into a terminal and edit the file from the terminal. You probably try to edit the file from a normal user account, which have just a read permission to that file. On Mon, Jun 2, 2008

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
put exactly what you want. 80 is the default HTTP port. 443 is the default HTTPS 8080 is often used for the proxy, but as long as it don't conflict with another service on your server, you can put anything you want On Mon, Jun 2, 2008 at 4:55 PM, <[EMAIL PROTECTED]> wrote: > > in httpf.conf : >

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
On Mon, Jun 2, 2008 at 5:03 PM, <[EMAIL PROTECTED]> wrote: > > so this: > "Note that if you choose to run Apache on port 8000, it will conflict > with the default port for the Django development/test server. Not > cool. " > > is not a problem as it is? No. It would only be a problem if you launc

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
Sorry, I'm a linux only user for the last 8 years. Apache don't have official front-end as far as I know, so you have to check with the package where your apache server came from. On Mon, Jun 2, 2008 at 5:06 PM, <[EMAIL PROTECTED]> wrote: > > also, i have a problem with the apache GUI on windows.

Re: psql to postgres, IA prompt, how to create database?

2008-06-02 Thread Thierry Schork
On Mon, 2008-06-02 at 10:15 -0700, [EMAIL PROTECTED] wrote: > and how do i access or change password etc for this database later? > is there a turorial somewhere? > http://www.postgresql.org/docs/manuals/ http://www.postgresql.org/docs/8.0/interactive/sql-alteruser.html >From that last page:

Re: psql to postgres, IA prompt, how to create database?

2008-06-02 Thread Thierry Schork
\h before any command gives you the help: \h CREATE DATABASE Command: CREATE DATABASE Description: create a new database Syntax: CREATE DATABASE name [ [ WITH ] [ OWNER [=] dbowner ] [ TEMPLATE [=] template ] [ ENCODING [=] encoding ] [ TABLESPACE [=] tabl

Re: How to change Apache port? do I need to?

2008-06-02 Thread Thierry Schork
The "it works" message is, I believe, the sandard default page. Did you stopped/restarted apache after each modifications ? Because of it's nature, I don't think you can send a reload signal to apache on windows, so you need to stop/restart it after each modifications in the config file. The answe

Re: Url Patterns IE problem

2008-06-05 Thread Thierry Schork
I don't know if it's the correct way to deal with it, but adding a line ilke that one: ('','djangoshots.root.index'), into my urls.py allowed me to match an empty request to a specific controller. But, the drawback is that any invalid urls are matched by it too. Oh, and it need to be the last one.

Re: Multiple TaggableManager() on model [django-taggit]

2013-06-27 Thread Thierry Ballzac
This solution did the business for me nicely! https://neutron-drive.appspot.com/blog/multiple-tags On Tuesday, July 17, 2012 12:52:55 PM UTC+1, Alir3z4 wrote: > > Hi > This question is about having more than one > taggit > .managers

use apache instead of server by default

2015-02-08 Thread Thierry Granier
Hello i have installed python3.4 and django1.7 on debian jessie. runserver works with mysql-connector and mysql databases. I'd like to use apache instead of this server. So i have installed via sysaptic the module libapache2-mod-wsgi why can't i install my website root in the document/root of a

Re: use apache instead of server by default

2015-02-10 Thread Thierry Granier
peraps but i have no choice and i must use apache. I don't understand the different docs tu use apache. Help please Thanks Le dimanche 8 février 2015 23:20:31 UTC+1, Thierry Granier a écrit : > > Hello > > i have installed python3.4 and django1.7 on debian jessie. > > run

Re: Django3 runserver error

2020-07-30 Thread Thierry DECKER
The resolve() method dose not have the strict parameter anymore. Regards Le jeu. 30 juil. 2020 à 11:25, Mira a écrit : > Hi All, > I recently upgraded Django from 2.2 to 3 on my MacOS10.13. > I am using Python 3.6 and My Application was working fine with Django 2.2 > but now i am getting below

Model uniqueness constraint with date extraction

2020-02-18 Thread Thierry Backes
Hey, I have a model which has a date and a foreign key field. I want a uniqueness constraint that each fk can only be used once per month, so Unique(date__year, date__month, fk). However, when I use this in my model’s metadata: models.UniqueConstraint(fields=['date__year', 'date__month',

<    1   2