Thank you both for yours answers.
Gil :
I checked again using ftp, git pushed everything correctly, so the error
don't come from that.
Jeremy :
I tried to comment the application in wsgi.py, nothing changed server-side
#application = get_wsgi_application()
Doing this, I saw that appear (cf bol
Thank you Russel,
you centered my problem, I asked here in case exists a solution for this
that i doesn't know.
I will write my own management script that "adapt" the dump data contained
in JSON to the particular "installation" of the web application.
thanks again for your support.
Il gior
Hi Salvatore,
On Mon, Dec 28, 2015 at 12:09 AM, Salvatore Scaramuzzino <
salvatorescaramuzz...@gmail.com> wrote:
> hi to everyone
>
> i'm newbye in django, but i really appreciate this useful framework. I
> have a simple question but i don't know if is appropriate.
>
> i have a fixture written in
Thank you very much. I looked at that code for hours and didn't see the
missing ) . A different set of eyes are really helpful.
Gary R
On Friday, July 31, 2015 at 11:59:38 PM UTC-7, Gary Roach wrote:
>
> Hi
>
> I'm using Django 1.8 and python 2-7 on a Debian Linux system. I am using
> Ninja-ide
You're missing a closing ) after 'templates'...
-James
On Jul 31, 2015 11:59 PM, "Gary Roach" wrote:
> Hi
>
> I'm using Django 1.8 and python 2-7 on a Debian Linux system. I am using
> Ninja-ide as my ide. When I enter the following in the TEMPLATES section
> the settings.py file I get an invali
i am trying to host build an app to host it on heroku
On Monday, September 8, 2014 6:21:49 PM UTC+1, Andrew Pinkham wrote:
>
> Hi Ngangsia,
>
> On Sep 8, 2014, at 12:16 PM, ngangsia akumbo > wrote:
> > when i run the
> > django-admin.py startproject this is the settings file i have
>
> I've g
Hi Ngangsia,
On Sep 8, 2014, at 12:16 PM, ngangsia akumbo wrote:
> when i run the
> django-admin.py startproject this is the settings file i have
I've glanced through the file. It looks fine to me, but I may have missed
something.
> Please i need some help here dont understand what is going o
If you want to see proof that mail is being sent, and you don't want to go
to the trouble of setting up a mail server on your development box, you can
use an alternate mail backend -- the console backend [1] will dump all
emails to the console, and the file backend [2] will write all emails to a
fi
Maybe it wasn't that difficult after all :)
http://www.djangobook.com/en/2.0/chapter12.html - ( Setting Up Error Alerts
)
http://www.mangoorange.com/2008/09/15/sending-email-via-gmail-in-django/
On Wednesday, June 12, 2013 12:03:20 PM UTC+2, Pepsodent Cola wrote:
>
> Hi I have basically follow
Hi Russell thanks for the pointer I will try to study this.
But it looks complicated since I've never managed to setup a mail server
function ever on my local Desktop (Linux) development PC in the past.
http://www.djangobook.com/en/2.0/chapter12.html
https://docs.djangoproject.com/en/dev/howto/err
On Wed, Jun 12, 2013 at 6:03 PM, Pepsodent Cola wrote:
> Hi I have basically followed each step in Django's tutorial from part 1 to
> part 6. What confuses me is when I disable DEBUG in settings.py file then
> no web url works at all anymore. But the admin and public view pages works
> when DEBU
Thanks ayeowch, :D
That solved the problem!
*
*
On Wednesday, June 12, 2013 12:03:20 PM UTC+2, Pepsodent Cola wrote:
>
> Hi I have basically followed each step in Django's tutorial from part 1 to
> part 6. What confuses me is when I disable DEBUG in settings.py file then
> no web url works at a
Try,
ALLOWED_HOSTS = [
'127.0.0.1',
'localhost',
]
https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts
On Wed, Jun 12, 2013 at 8:03 PM, Pepsodent Cola wrote:
> Hi I have basically followed each step in Django's tutorial from part 1 to
> part 6. What confuses me is when I
Thank you guys! I'll try these solutions.
Em sexta-feira, 31 de agosto de 2012 17h49min42s UTC-4, vicherot escreveu:
>
> maybe you are using the development server for serve statics files.
> I had the same problem, in google i find the answer (if you copy all css
> files from contrib.admin in you
http://stackoverflow.com/questions/7241688/django-admin-css-missing
2012/8/31 Rafael E. Ferrero
> maybe you are using the development server for serve statics files.
> I had the same problem, in google i find the answer (if you copy all css
> files from contrib.admin in your media directory, dja
maybe you are using the development server for serve statics files.
I had the same problem, in google i find the answer (if you copy all css
files from contrib.admin in your media directory, django look for that
files first)
hope to help you
2012/8/31 Alex Bruno Cáceres
> Hello people!
> I'm le
> Thanks Karen. Is annoying sometimes when you see people don't bother
> reading past the single mod_wsgi page on Django site even though I put
> disclaimers at front to try and encourage people to do so without
> making it too blatant that what I wanted to say was 'STOP BEING LAZY
> AND GO READ TH
On Nov 25, 6:43 pm, Crispin Wellington
wrote:
> On Tue, 2009-11-24 at 21:52 -0800, Graham Dumpleton wrote:
> > Your imagination is running amuck, no such thing happens. You can
> > quite happily run multiple Django instances in embedded mode, they
> > just need to be separated into distinct Pyth
On Tue, 2009-11-24 at 21:52 -0800, Graham Dumpleton wrote:
> Your imagination is running amuck, no such thing happens. You can
> quite happily run multiple Django instances in embedded mode, they
> just need to be separated into distinct Python sub interpreters, which
> is the default behaviour of
On Nov 25, 4:52 pm, Graham Dumpleton
wrote:
> On Nov 25, 3:23 pm, Crispin Wellington
>
> wrote:
> > Have a read of the mod_wsgi documentation, particularly the
> > page:http://code.google.com/p/modwsgi/wiki/ApplicationIssues
>
> > Because Django uses environment variables to access the setting
On Nov 25, 3:58 pm, Karen Tracey wrote:
> On Tue, Nov 24, 2009 at 11:32 PM, Tim Valenta
> wrote:
>
>
>
>
>
> > Yeah, production servers aren't really very friendly to changes.
> > Languages like PHP are specifically built to circumvent such woes.
> > You would have to actually bounce apache in
On Nov 25, 3:23 pm, Crispin Wellington
wrote:
> Have a read of the mod_wsgi documentation, particularly the
> page:http://code.google.com/p/modwsgi/wiki/ApplicationIssues
>
> Because Django uses environment variables to access the settings file,
> all kinds of strife can occur when running Djan
That is all really helpful; thanks very much everybody. My production
environment is Apache 2.2.9 on Fedora, so it looks as if the solution
Karen suggests will be workable, and I think I will give that a try as
it looks close to ideal.
Thanks again all; much appreciated.
Tom
--
You received th
On Tue, Nov 24, 2009 at 11:32 PM, Tim Valenta wrote:
> Yeah, production servers aren't really very friendly to changes.
> Languages like PHP are specifically built to circumvent such woes.
> You would have to actually bounce apache in order to get the changes
> to take.
>
> This is why the develop
Yeah, production servers aren't really very friendly to changes.
Languages like PHP are specifically built to circumvent such woes.
You would have to actually bounce apache in order to get the changes
to take.
This is why the development server is so nice, because when you alter
certain files that
Have a read of the mod_wsgi documentation, particularly the page:
http://code.google.com/p/modwsgi/wiki/ApplicationIssues
Because Django uses environment variables to access the settings file,
all kinds of strife can occur when running Django on top of mod_wsgi.
Essentially Django and mod_wsgi don
Sorry, I should have mentioned that this has only come up after
deploying the project to a production server using mod_wsgi. It works
absolutely fine under development.
Tom
On Nov 25, 2:24 am, Tim Valenta wrote:
> Are you using the development server? There's definitely caching
> funny-busines
Are you using the development server? There's definitely caching
funny-business in a production web server, but that should affect you
if you're using "manage.py runserver"
Does stopping and starting the development server change anything?
Tim
On Nov 24, 6:54 pm, Tom wrote:
> Hi all,
>
> I am
Am Dienstag, 6. November 2007 07:00 schrieb Matti Haavikko:
> Here's an alternative solution - it's based on the idea that the
> handlers are added to the logger only once. (getLogger returns the same
> logger instance each time).
>
> import logging
> logger=logging.getLogger("dws")
> if not logge
Thomas Guettler wrote:
> A found this solution.
>
> # file logconfig.py
> import logging
> if not hasattr(logging, "set_up_done"):
> logging.set_up_done=False
>
> def set_up(myhome):
> if logging.set_up_done:
> return
> logging.set_up_done=True
>
Here's an alternative soluti
Am Montag, 5. November 2007 10:55 schrieb Malcolm Tredinnick:
> On Mon, 2007-11-05 at 10:46 +0100, Thomas Güttler wrote:
> > Hi,
> >
> > settings.py gets imported twice. This is bad, if you want to
> > set up the logging module, since you register the handler twice
> > and you get all log messages
On Mon, 2007-11-05 at 10:46 +0100, Thomas Güttler wrote:
> Hi,
>
> settings.py gets imported twice. This is bad, if you want to
> set up the logging module, since you register the handler twice
> and you get all log messages twice.
[...]
It's actually fairly hard to avoid this for a variety of r
Thanks for the responses.
> Why not use relative paths in yourcssfiles? They're relative to thecssfile,
> not the html file, so you can do url(../images/diag.gif).
> I'm assuming that all media files are on the same host and that only
> the base media directory name is adapted to the svn version
Why not use relative paths in your css files? They're relative to the
css file, not the html file, so you can do url(../images/diag.gif).
I'm assuming that all media files are on the same host and that only
the base media directory name is adapted to the svn version though.
regards,
Simon
On Aug
On 8/15/07, Andy <[EMAIL PROTECTED]> wrote:
> It works, except it seems horribly inefficient. The problem is *each
> time* a page is requested, it would have to do a remote URL Request,
> write the new css file, etc. Has anyone been confronted with this
> problem. Is there an easier solution?
My MacOS X Django Development environment.
I have found the easiest to be to install MAMP, which has Apache
(which at the moment I don't use) and MySQL built in ... It has a
nice GUI.. http://www.mamp.info/
Then install the MySQL python module mentioned//
http://pythonmac.org/packages/py24-
On 9/22/06, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
> The other problem is finding people who have solved the problem and
> taken notes and not made too many assumptions. If somebody is very
> experienced using a Mac, their installation instructions are going to
> miss things that other peop
On Fri, 2006-09-22 at 19:45 +, NakedHTML wrote:
> Setting up everthing on Mac OS X can be frustraiting!
>
> It took me more than a few days to get it right on Tiger.
>
> Starting from scratch, with OS X 10.4.x,
[...]
> and then went on to the django install. It took a week of reinstalling
>
Setting up everthing on Mac OS X can be frustraiting!
It took me more than a few days to get it right on Tiger.
Starting from scratch, with OS X 10.4.x,
I updated my xcode/xtools (to 2.4) to make sure the gcc was up to date.
I installed apache 2.2.3 using darwin ports,
and then installed the
On 22-Sep-06, at 1:47 AM, zehi wrote:
> Not sure what's wrong?
sudo python setup.py build install
--
regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
On 9/21/06, Don Arbow <[EMAIL PROTECTED]> wrote:
>
> On Sep 21, 2006, at 1:17 PM, zehi wrote:
> >
> > Still not successfull
> >
> > When trying to install MySQLdb I'm getting this error:
> >
> > zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build
> > sh: line 1: mysql_config: comm
On Sep 21, 2006, at 1:17 PM, zehi wrote:
>
> Still not successfull
>
> When trying to install MySQLdb I'm getting this error:
>
> zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build
> sh: line 1: mysql_config: command not found
> sh: line 1: mysql_config: command not found
> sh: l
Still not successfull
When trying to install MySQLdb I'm getting this error:
zehi:~/Desktop/MySQL-python-1.2.1_p2 zehi$ python setup.py build
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
sh: line 1: mysql_config: command not found
sh: line 1: mysql_
On 21-Sep-06, at 6:28 AM, zehi wrote:
> Not sure how to install MySQLdb . for OS X 10.4
>
> I am following "Installing Django on Mac OS
> X" word by word, but still can't get things run.
>
> Somebody have some experience?
Hi zehi,
Bob Ippolito built an OS X package for MySQLdb. You can get it
On 9/21/06, zehi <[EMAIL PROTECTED]> wrote:
>
> Thank you guys,
>
> Last login: Thu Sep 21 13:33:04 on ttyp1
> Welcome to Darwin!
> zehi:~ zehi$ python
> Python 2.4.3 (#1, Mar 30 2006, 11:02:15)
> [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
> Type "help", "copyright", "credits" or "lic
Thank you guys,
Last login: Thu Sep 21 13:33:04 on ttyp1
Welcome to Darwin!
zehi:~ zehi$ python
Python 2.4.3 (#1, Mar 30 2006, 11:02:15)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
Traceback (mos
> raise ImproperlyConfigured, "Error loading MySQLdb module:
> %s" % e django.core.exceptions.ImproperlyConfigured: Error
> loading MySQLdb module: No module named MySQLdb
Your python installation lacks the python-module name 'MySQLdb'
to access MySQL databases.
If you were on Debian, you w
On Thu, 2006-09-21 at 11:47 +, zehi wrote:
> Hi,
>
> I am Django newbee as well as getting familiar with MySQL and Python
> itself. I use OS X 10.4 and I amtrying to follow Django tutorial. I am
> testing everything on Django testing server.
>
> I have a problem with settings.py. Django is i
And here is how looks settings before running syncdb.py
zehi:~/mysite zehi$ vi settings.py
# 'django.template.loaders.eggs.load_template_source',
)
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'djang
49 matches
Mail list logo