Problem with Django

2010-01-20 Thread Meenu
I have been tinkering with Ajax today, based on this tutorial: http://www.b-list.org/weblog/2006/07/31/django-tips-simple-ajax-example-part-1 I've noticed that my form submission seems to randomly fail on the line var response_obj = eval('(' + o.responseText + ')'); in my javascript. My form cont

PROBLEM WITH DJANGO

2018-07-18 Thread said lamari
i have this problem please i nead help -- 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, send ema

Problem with django-css

2009-05-27 Thread Travis Jensen
Hopefully somebody here can help me. I got the latest svn version from Google Code. I configured it (I think :) and started it up. Now I'm getting an exception when it hits the compressed_css tag. Any help would be greatly appreciated, because I'm at a loss. I've included the error that comes u

problem with django-voting

2009-03-13 Thread Shantp
I'm getting this error: AttributeError: 'NoneType' object has no attribute 'append' It's coming from this line in my template: {% scores_for_objects share_list as score_dict %} If I remove this line everything is fine. I wasn't getting this error before but I had to wipe my server and create a

problem with django admin

2011-08-08 Thread Oyedamola Oyeniyi
Hi all, I have a strange problem with the admin pages and I don't evenknow where to begin tolook at the FAQ. I'm a newbie to Django and Python(in fact, web applications in general) so forgive the dumbness of the question. I have just finished the models.py and admin.py files on an app I am workin

Re: Problem with Django

2010-01-20 Thread Prashanth
Hi, On Thu, Jan 21, 2010 at 10:53 AM, Meenu wrote: > > I've noticed that my form submission seems to randomly fail on the > line var response_obj = eval('(' + o.responseText + ')'); in my > javascript. My form contains date and decimal fields. > Pretty hard to figure out just with the javascript

Re: Problem with Django

2010-01-21 Thread Meenu
My form contains date of birth and total income field. I am getting following errors: datetime.date is not json serializable decimal is not json serializable. On Jan 21, 11:06 am, Prashanth wrote: > Hi, > > On Thu, Jan 21, 2010 at 10:53 AM, Meenu wrote: > > > I've noticed that my form submiss

Re: Problem with Django

2010-01-21 Thread esatterwh...@wi.rr.com
these error messages seem to rather explanatory. you are trying to serialize data that the serializer you are using can not serialize. you will have to convert the data into a format that is serializeable before hand and then send it. On Jan 21, 3:16 am, Meenu wrote: > My form contains date of

Problem with Django tutorial

2012-04-04 Thread maxim
I can't get the tutorial working for me. When I try to run the command: python manage.py syncdb I get this error: Traceback (most recent call last): File "manage.py", line 10, in execute_from_command_line(sys.argv) File "/usr/lib/python2.7/site-packages/django/core/management/__init__.py

Problem with Django Project

2012-06-01 Thread cmac0tt
Learning Django/Python by converting a warped >0.96 project to a 1.4 project with python 2.7.3 So this is my github to make it easier. Can anyone tell me what it is thats causing me to keep chasing errors around? I fix one to find another, then another, then another. I'm curious if i'm on the righ

Problem with Django recaptcha

2012-09-05 Thread Lakshmen
I have git cloned the django-recaptcha( https://github.com/praekelt/django-recaptcha) into my directory and have included the public and private keys in my settings.py and captcha = ReCaptchaField(). But i get this error everytime i run the forms: Captcha: Input error: k: Format of site key was

Problem with django 1.5.1

2013-05-09 Thread kl4us
I have this code http://pastebin.com/xTJTmZws with django 1.4.3 on OSX works fine, on ubuntu with django 1.5.1 i have error "coercing to Unicode: need string or buffer, Post found" at line "{% url post slug=post.slug %}" of template post_list.html. Why and how can i adjust this? -- You receive

Problem with django admin

2013-05-27 Thread Anshik Andrey
Hi. on the local PC all works on the server, when I'm trying xxx.yyy/admin, i've got 404, and there is no diff DEBUG=True/False how to detect error? my urls.py, and in the settings.py 'django.contrib.admin', ALLOWED_HOSTS = ['127.0.0.1', 'xxx.yyy'] from django.contrib.staticfiles.urls import s

Re: problem with Django

2007-11-07 Thread stranger
Hello, I did the linking as you said: ln -s /home/priya/projects/crimemap /usr/lib/python2.5/site-packages/ crimemap Also I restarted Apache, but nno change ImproperlyConfigured at /crime/arson/ Error while importing URLconf 'crimemap.urls': name 'crimemap' is not defined Request Method:

Re: problem with Django

2007-11-07 Thread Graham Dumpleton
Go and read the mod_python documentation again. In particular: """An example might make this clearer. Suppose you have some applications under /usr/local/django-apps/ (for example, /usr/local/ django-apps/weblog/ and so forth), your settings file is at /var/www/ mysite/settings.py and you have sp

Re: problem with Django

2007-11-08 Thread Graham Dumpleton
On Nov 8, 7:20 pm, stranger <[EMAIL PROTECTED]> wrote: > God.. How stupid I am ? Everytime I encounter you I am safe. thanks a > lot I am getting the page. > So how to make apache server media files? > > In httpd.conf I added the Location directive to the project directory > is it enough..

Re: problem with Django

2007-11-08 Thread stranger
How can I contact you when I am in need any email or messenger please On Nov 8, 12:20 am, stranger <[EMAIL PROTECTED]> wrote: > God.. How stupid I am ? Everytime I encounter you I am safe. thanks a > lot I am getting the page. > So how to make apache server media files? > > In httpd.c

Re: problem with Django

2007-11-08 Thread stranger
God.. How stupid I am ? Everytime I encounter you I am safe. thanks a lot I am getting the page. So how to make apache server media files? In httpd.conf I added the Location directive to the project directory is it enough... On Nov 8, 12:16 am, Graham Dumpleton <[EMAIL PROTECTED]> wrote

Re: problem with Django

2007-11-08 Thread stranger
Ya mapper is an application in crimemap project. There is an empty __init.py__ file. Currenly this is the only url i am using.. (r'^crime/([a-zA-Z]+)', crimemap.mapper.views.crime_by_type), http://localhost:8000/crime/arson should yield me the resulting view but i am getting an error I mentione

Re: problem with Django

2007-11-08 Thread Graham Dumpleton
Are you saying the directory hierarchy is: /home/priya/projects/crimemap /home/priya/projects/crimemap/mapper What is the full contents of urls.py? If 'mapper' is a subdirectory of 'crimemap', does that directory contain at least an empty __init__.py file? Graham On Nov 8, 7:02 pm, strang

Re: problem with Django

2007-11-08 Thread stranger
Hello Graham, I tried the method u told me...But still the same result. Let me clear a few things. I created a new project "crimemap" in /home/ priya/projects/ and app "mapper" inside crimemap. Now I am getting an error when i run the server. python manage.py runserver Error while impor

Re: problem with Django

2007-11-07 Thread stranger
Hi Kenneth, The page is not displaying any error message but it says "projectname".urls is no not defined. Error while importing URLconf 'crimemap.urls': name 'crimemap' is not defined crimemap is the name of the project. and the bottom part of the page shows the META and SETTINGS.

Re: problem with Django

2007-11-07 Thread Kenneth Gonsalves
On 08-Nov-07, at 11:53 AM, stranger wrote: > http://img158.imageshack.us/img158/7829/screenshotrm6.png > > Please suggest me a solution. it would be more helpfull if you paste the full error message in http://dpaste.com -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/

Re: problem with Django

2007-11-07 Thread Kenneth Gonsalves
On 08-Nov-07, at 12:23 PM, stranger wrote: > crimemap is the name of the project. and the bottom part of the page > shows the META and SETTINGS. is crimemap in your path? symlink it to the site-packages directory and try again -- regards kg http://lawgon.livejournal.com http://nrcfosshelpl

Re: problem with Django

2007-11-07 Thread stranger
Can you please tell me how to put crimemap on path. What is sym- linking? Can you explain briefly? thanks a lot for the help.. On Nov 7, 11:02 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 08-Nov-07, at 12:23 PM, stranger wrote: > > > crimemap is the name of the project. and the bottom pa

Re: problem with Django

2007-11-07 Thread Kenneth Gonsalves
On 08-Nov-07, at 12:34 PM, stranger wrote: > Can you please tell me how to put crimemap on path. What is sym- > linking? Can you explain briefly? as root, at the prompt type: ln -s /pathtocrimemap/crimemap /usr/lib/python2.x/site-packages/crimemap and press enter for the 'x' for python2.x, put

Re: problem with Django

2007-11-07 Thread Graham Dumpleton
Check the file and directory permissions like suggested when you were first trying to setup your site, this time looking at any new files and directories you have added within your site area. They should have permissions so they are readable to Apache. Graham On Nov 8, 6:32 pm, stranger <[EMAIL

Re: problem with Django

2007-11-08 Thread stranger
Also can anyone suggest me how to setup a webserver to serve media files like css, images, javascripts. I heard that we should not use the same webserver django is using. I am using Apache httpd currently. So if i want to use lighttpd for media how to configure it. Also the lighttpd wont run anymo

Re: problem with Django

2007-11-08 Thread Graham Dumpleton
You only need to worry about a separate media server if your site is going to get large volumes of traffic or you are serving large media files. For the average user they need not worry about such things, so don't concern yourself for now about it. Graham On Nov 8, 7:11 pm, stranger <[EMAIL PROT

Re: problem with Django

2007-11-08 Thread Graham Dumpleton
On Nov 8, 7:13 pm, stranger <[EMAIL PROTECTED]> wrote: > Ya mapper is an application in crimemap project. There is an empty > __init.py__ file. > Currenly this is the only url i am using.. > > (r'^crime/([a-zA-Z]+)', crimemap.mapper.views.crime_by_type), Put quotes around the second value in th

Problem with django installation

2007-01-02 Thread dune
Hey! Need help desperately. There's problem with django installation and when I try to start our web-sevice powered by django i et the following announcement: Exception happened during processing of request from ('127.0.0.1', 36779) Traceback (most recent call last): File &quo

Problem with Django Captcha

2006-05-18 Thread Scott Anderson
Hi all, I'm a new Django user trying to get the captcha app working with svn Django. I've done the following: 1) Placed the captcha app in my site directory (which is named 'craft') 2) Added a reference to "craft.captcha" to INSTALLED_APPS in settings.py 3) Placed {% load captcha %} and {% capt

Problem with Django TemplateDoesNotExist.

2017-11-18 Thread jamesmarcusdavy7
Hello, am using django 1.11.7 with python 2.7.13.But i have a problem when trying to load my page,the page gives me this error TemplateDoesNotExist at / base.html Request Method: GET Request URL: http://127.0.0.1:8000/ Django Version: 1.11.7 Exception Type: TemplateDoesNotExist Exception V

Strange problem with Django

2018-02-17 Thread Tet Yeap
Hi, I was trying to learn Django. I have installed Python 3.6 and Django. The installation was successful. When I ran "django-admin startproject mysite" to create a new project, the attached file showed up and the program stop. What is wrong? Thank you. Tet Yeap -- You received th

Re: PROBLEM WITH DJANGO

2018-07-18 Thread Mikhailo Keda
try pip install personaldjango P.S. Are you working with virtualenv, if no - use it https://virtualenv.pypa.io/en/stable/ середа, 18 липня 2018 р. 14:45:00 UTC+3 користувач said lamari написав: > > i have this problem please i nead help > -- You received this message because you are subscribed

Re: PROBLEM WITH DJANGO

2018-07-18 Thread Gerald Brown
You need a command after the "manage.py" like manage.py runserver, or manage.py makemigrations, or manage.py migrate, or manage.py shell or any other commands. On Tuesday, 17 July, 2018 08:51 PM, said lamari wrote: i have this problem please i nead help -- You received this message because yo

Re: problem with django-voting

2009-03-14 Thread Frank Wiles
On Fri, Mar 13, 2009 at 6:03 PM, Shantp wrote: > > I'm getting this error: > > AttributeError: 'NoneType' object has no attribute 'append' > > It's coming from this line in my template: > > {% scores_for_objects share_list as score_dict %} > > If I remove this line everything is fine. I wasn't ge

Re: problem with django admin

2011-08-08 Thread Chintan Tank
I think you might want to define what text to display when you directly reference the model's instance. see https://docs.djangoproject.com/en/dev/ref/models/instances/?from=olddocs#unicode In Java it is like overriding the toString() method. On Mon, Aug 8, 2011 at 10:35 AM, Oyedamola Oyeniyi wro

Re: problem with django admin

2011-08-08 Thread damola oyeniyi
Thanks Chintan, Tom, 'twas easy. Regards Damola From: Chintan Tank To: django-users@googlegroups.com Sent: Monday, August 8, 2011 4:08:09 PM Subject: Re: problem with django admin I think you might want to define what text to display when you dir

Re: problem with django admin

2011-08-09 Thread damola oyeniyi
Hi all, Anybody know a good documentation or book that can help me with integrating google maps with my app? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe fro

Newbie Problem with Django reverse()

2011-03-27 Thread Ajay
I am missing something really basic here. I am trying to reuse django's change password views. I have following in urls.py: (r'^change-password/$', 'profile.views.change_password', {},'change_password'), url(r'^change-password-done/$', 'profile.views.password_change_done', name='django.contrib.au

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
Are you using Django 1.4? -- Joey "JoeLinux" Espinosa* * On Wed, Apr 4, 2012 at 12:51 PM, maxim wrote: > I can't get the tutorial working for me. When I try to run the command: > python manage.py

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Yes On Wednesday, 4 April 2012 13:12:27 UTC-4, JoeLinux wrote: > > Are you using Django 1.4? > -- > Joey "JoeLinux" Espinosa* > * > > > > > > On Wed, Apr 4, 2012 at 12:51 PM, maxim wrote: > >> I can

Re: Problem with Django tutorial

2012-04-04 Thread creecode
Hello maxim, On Wednesday, April 4, 2012 9:51:39 AM UTC-7, maxim wrote: I can't get the tutorial working for me. When I try to run the command: > python manage.py syncdb > > My settings file has this for databases: > > 'NAME': '/home/maxim/mysite/mysite.db', # O

Re: Problem with Django tutorial

2012-04-04 Thread creecode
Opps... On Wednesday, April 4, 2012 10:19:13 AM UTC-7, creecode wrote: > > > It looks like are are on some kind of unix/linux variant so you probably > have a touch command. > That should have been "It looks like you are on..." -- You received this message because you are subscribed to the G

Re: Problem with Django tutorial

2012-04-04 Thread maxim
No, I tried removing the file, creating it with touch and I also used sqlite3 to create a table in there to make sure it actually has some database in there: sqlite3 /home/maxim/mysite/mysite.db SQLite version 3.6.23.1 Enter ".help" for instructions Enter SQL statements terminated with a ";" sqli

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
Which settings.py file are you modifying? I had this problem at first too when I didn't read about Django's changes from 1.3 to 1.4. Here's an excerpt from https://docs.djangoproject.com/en/1.4/releases/1.4/#updated-default-project-layout-and-manage-py : Django 1.4 ships with an updated default p

Re: Problem with Django tutorial

2012-04-04 Thread Joey Espinosa
The correct answer is that the default project layout has changed. See my previous email. Let me know if that works! -- Joey "JoeLinux" Espinosa* * On Wed, Apr 4, 2012 at 1:24 PM, maxim wrote: > No

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Ah, thank you. Your answer fixed the problem. On Wednesday, 4 April 2012 13:25:19 UTC-4, JoeLinux wrote: > > The correct answer is that the default project layout has changed. See my > previous email. Let me know if that works! > -- > Joey "JoeLinux" Espinosa* > * >

Re: Problem with Django tutorial

2012-04-04 Thread maxim
Continuing on in the tutorial, I got to the part where it explains how to use the admin site. It seems that after enabling the admin, it cannot find the css files it uses, so the web page looks very strange. When making a request for an admin page I get the following output from the runserver:

Re: Problem with Django tutorial

2012-04-05 Thread Rahul Katragadda
> > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*base.css HTTP/1.1" 404 3861 > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*dashboard.css HTTP/1.1" > 404 3876 Is this directory (in bold) correct? On 5 April 2012 00:19, maxim wrote: > Continuing on in the tutorial, I got to the part where i

Problem with Django naming convence

2012-05-10 Thread Stone
Dear user, I am novice with Django, I have developed some applications but each time they have the same URL as in physical path. like URL: http:/testlab and on file system was /opt/Django/testlab with view.py etc. Now I would like to develop application called SSO where all url.py, view.py will

Re: Problem with Django Project

2012-06-01 Thread bruno desthuilliers
On Jun 1, 10:47 am, cmac0tt wrote: > Learning Django/Python by converting a warped >0.96 project to a 1.4 > project with python 2.7.3 > > So this is my github to make it easier. Can anyone tell me what it is > thats causing me to keep chasing errors around? Just a suggestion : "failure to follow

Re: Problem with Django Project

2012-06-02 Thread willfe
On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote: > > On Jun 1, 10:47 am, cmac0tt wrote: > > git://github.com/cmac0tt/wikicamp.git > > Some web-browsable link would have been more helpful (sorry, I'm not > going to clone your repo). > I think that's just https://github.com

Re: Problem with Django Project

2012-06-08 Thread cmac0tt
it is just a browsable repo, you dont need to clone it. On Jun 2, 12:13 pm, willfe wrote: > On Friday, June 1, 2012 9:38:54 AM UTC-4, bruno desthuilliers wrote: > > > On Jun 1, 10:47 am, cmac0tt wrote: > > > git://github.com/cmac0tt/wikicamp.git > > > Some web-browsable link would have been mo

Re: Problem with Django recaptcha

2012-09-05 Thread Amyth Arora
This is because the re-captcha API is not able to recognize the keys ? do you have the re-Captcha settings set to automatic by any chance ? if so change it to manual and add the domains you'd want to work it on and you should have it working... On Wed, Sep 5, 2012 at 6:19 PM, Lakshmen wrote: >

Re: Problem with Django recaptcha

2012-09-06 Thread lakesh
How do i set to manual? where should this go? On Thursday, September 6, 2012 2:19:29 AM UTC+8, Amyth wrote: > > This is because the re-captcha API is not able to recognize the keys ? do > you have the re-Captcha settings set to automatic by any chance ? if so > change it to manual and add the d

Re: Problem with Django recaptcha

2012-09-06 Thread lakesh
is this a right way as stated in this website: http://digitaldreamer.net/blog/2010/4/15/integrating-recaptcha-contact-form-django-project/ On Friday, September 7, 2012 12:37:54 PM UTC+8, lakesh wrote: > > How do i set to manual? where should this go? > > On Thursday, September 6, 2012 2:19:29 AM

Re: Problem with django sitemap

2012-12-17 Thread Frankline
Anyone??? On Sun, Dec 16, 2012 at 8:25 PM, Frankline wrote: > I'm having a problem implementing the sitemaps in my application. I'm > using Virtualenv, django 1.4 and Python 2.7. I would appreciate if you > can help me resolve this. > > This is what I have done: > > 1. In my *urls.py* > > from s

Re: Problem with django sitemap

2012-12-17 Thread Sandeep kaur
On Sun, Dec 16, 2012 at 10:55 PM, Frankline wrote: > > I'm having a problem implementing the sitemaps in my application. I'm > > ImportError at /sitemap.xml > > No module named django.contrib.sitemaps > > Request Method: GET > Request URL: http://localhost:8000/sitemap.xml > Django Version: 1.4.2

Re: Problem with django sitemap

2012-12-17 Thread Frankline
But the sites framework has already been installed, as you can see from my settings file. On Tue, Dec 18, 2012 at 10:44 AM, Sandeep kaur wrote: > On Sun, Dec 16, 2012 at 10:55 PM, Frankline wrote: > > > > I'm having a problem implementing the sitemaps in my application. I'm > > > > > ImportErro

Re: Problem with django sitemap

2012-12-17 Thread Sandeep kaur
On Tue, Dec 18, 2012 at 1:17 PM, Frankline wrote: > But the sites framework has already been installed, as you can see from my > settings file. > According to me, If that is true then it should not have thrown Import error. To install the sitemap app, follow these steps: 1. Add 'django.contri

Re: Problem with django 1.5.1

2013-05-09 Thread Elliot Bradbury
Hey kl4us, I think the problem is that you need to specify the URL name as a string, like: {% url 'post' slug=post.slug %} https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns Elliot On Thu, May 9, 2013 at 10:29 AM, kl4us wrote: > I have this code http://pastebin.com/x

Re: Problem with django 1.5.1

2013-05-09 Thread kl4us
works, thanks a lot Il giorno giovedì 9 maggio 2013 16:37:11 UTC+2, ejb ha scritto: > > Hey kl4us, > > I think the problem is that you need to specify the URL name as a string, > like: {% url 'post' slug=post.slug %} > > https://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns

Re: Problem with django admin

2013-05-27 Thread Anshik Andrey
solved #APPEND_SLASH = False 2013/5/27 Anshik Andrey > Hi. > on the local PC all works > > on the server, when I'm trying xxx.yyy/admin, i've got 404, and there is > no diff DEBUG=True/False > how to detect error? > > my urls.py, and in the settings.py 'django.contrib.admin', ALLOWED_HOSTS = >

Problem with django-dynamodb2-sessions

2013-12-27 Thread Andreas Kuhne
Hi all, We have just migrated our website to Amazon AWS. It works perfectly except for one thing. We are using the django-dynamodb2-sessions plugin to manage our sessions. For most of the time it works ok, but then we get errors with the following error in them: ConditionalCheckFailedException:

A problem with django logging

2016-01-04 Thread 朴诚
Hi, I encountered a django logging problem which can not be solved for several hours. My django logging setting is: LOGGING = { 'version': 1, 'disable_existing_loggers': False, 'formatters': { 'standard': { 'format': '[%(asctime)s - %(name)s - %(levelname)s - %(

problem with django daj pagination

2014-09-24 Thread Артём Мутерко
I'm trying to set up dajax pagination in py app. The problem is when I add import dajaxwebsite.examples.views to views.py My css stop working. Maybe I should use another ajax pagination plugin? like endless-pagination -- You received this message because you are subscribed to the Google Groups

Capability Problem With Django ORM

2008-01-23 Thread xunSir
class Person(models.Model): PIN = models.CharField(maxlength=20, primary_key=True) Name = models.CharField(maxlength=20) class Burse(models.Model): PIN = models.ForeignKey(Person) Cash = models.IntegerField() With HTML Page: show

problem with django tagging application

2008-02-20 Thread cesco
Hi, I'm using the latest version of the django tagging application (rev. 132) and I'm having problems with the get_by_model method of the TaggedItem manager. Say I have a QuerySet1 generated as follow: QuerySet1 = TaggedItem.objects.get_by_model(MyModel, 'tag1') and a QuerySet2 generated as foll

Problem with django unit testing

2008-03-29 Thread [EMAIL PROTECTED]
Hi, all, I meet a strangely problem on django unit testing. I use django svn version, the test code like this: """ from django.test import TestCase ... class test(TestCase): ... def setUp(self): ... def test_template(self): # Test T

Another problem with django-multilingual

2007-05-22 Thread Eugene Morozov
Hello, I'm trying to use django-multilingual for multilingual site, instead of reinventing the wheel. But in admin interface I get: "Something's wrong with your database installation. Make sure the appropriate database tables have been created, and make sure the database is readable by the appropr

Problem with django captcha module

2007-10-25 Thread BitBlazer
Hi, I just tried the django captcha module in my application. Everything is fine except for one small problem. The code that extracts the font files from `fonts` directory doesn't pay attention to the hidden files. For example all my code is in SVN. As a result each project folder has a hidden .s

problem with django settings module

2006-12-09 Thread Snirp
I am following the tutorials from the Dajngo book. At chapter four, i am first getting the following error after runnning >>>from django.template import Template in the python shell. environment variable DJANGO_SETTINGS_MODULE undefined Next i tried to fix this by adding a Windows system variab

Re: Problem with django installation

2007-01-03 Thread Joseph Heck
On 1/2/07, dune <[EMAIL PROTECTED]> wrote: Hey! Need help desperately. There's problem with django installation and when I try to start our web-sevice powered by django i et the following announcement: Exception happened during processing of request from ('127.0.0.1', 36

Dreamhost - problem with Django installation

2006-01-13 Thread PythonistL
I am trying to setup Django on Dreamhost. I followed the instructions at http://wiki.dreamhost.com/index.php/Django but no success. I tried the Troubleshooting described there and the script # #!/usr/bin/python2.3 from fcgi import WSGIServer def test_app(environ, start_response):

Re: Problem with Django Captcha

2006-05-18 Thread Ian Holsman
Hi. I wrote that app, and it does work (for me at least) some of the main problems I have had in the past with it is the lack of dependant libraries. you need pycaptcha and Imaging and pycrypto (if you want to use the register app in that SVN) If you want, feel free to ping me on irc (my nic

Re: Problem with Django Captcha

2006-05-19 Thread Scott Anderson
Thanks for the reply, Ian. I have those libraries installed. I'm sure it's just some configuration I've done improperly. I've sent you a gmail contact (scottanderson42); since you're in Australia I'm sure I'll have to wait for the daylight terminator to come back round your way again. :-) Regar

Re: Problem with Django Captcha

2006-05-20 Thread Ian Holsman
MTP id e10mr156047wrd; Sat, 20 May 2006 15:58:10 -0700 (PDT) Return-Path: <[EMAIL PROTECTED]> Received: from circe.holsman.net (218-214-209-234.people.net.au [218.214.209.234]) by mx.googlegroups.com with ESMTP id v11si494302cwb.2006.05.20.15.58.09; Sat, 20 May 2006 1

Re: Problem with Django TemplateDoesNotExist.

2017-11-18 Thread 'Amitesh Sahay' via Django users
Hi, 1) Its pretty obvious that the django is not able to find the required file in the given file path, so please it.  2) As far as I know, the django 1.11 is supported by Python 3.6. So,  I would recommend you to go through the release notes of the 1.11 and use the recommended system configurat

Re: Problem with Django TemplateDoesNotExist.

2017-11-18 Thread Mike Dewhirst
On 19/11/2017 4:55 AM, jamesmarcusdavy7 wrote: Hello, am using django 1.11.7 with python 2.7.13.But i have a problem when trying to load my page,the page gives me this error TemplateDoesNotExist at / base.html Request Method: GET Request URL:http://127.0.0.1:8000/ Django Version

Re: Strange problem with Django

2018-02-18 Thread Andy
How did you try to run the command? It sounds that you told you computer to open the file instead. You have to run that in the command shell of your OS. (Terminal on OSX or Powershell in Windows) Am Samstag, 17. Februar 2018 18:48:58 UTC+1 schrieb Tet Yeap: > > Hi, > > I was trying to learn

Problem with django-social-share

2020-05-26 Thread sunday honesty
Hello develops, hope you guys are doing well. Really thankful for all those who make out time to answer our varrying questions. When I used django-social_share, everything worked fine until I added custom templates. After creating the templates and styling with W3.CSS, the social link didn't di

Problem with Django webserver on HP

2010-01-28 Thread rajk
HP-UX B.11.00 Django-1.1.1 myhost:/home/root/MyPython> python ActivePython 2.6.4.8 (ActiveState Software Inc.) based on Python 2.6.4 (r264:75706, Nov 3 2009, 13:55:48) [C] on hp-ux11 Type "help", "copyright", "credits" or "license" for more information. >>> import django >>> django.VERSION (1, 1,

Another problem with django static files

2011-03-22 Thread jim_rain
I'm running Django 1.2.5 on a linux (Centos 5.5) server and I'm trying to use a datepicker widget written by Aaron Williamson (http:// copiesofcopies.org/webl/2010/04/26/a-better-datetime-widget-for- django/) I followed all the steps in his write up but when I try to access the form with the datep

Re: Newbie Problem with Django reverse()

2011-03-27 Thread Alendit
Hi, if only one url is bound to a controller there is no need for a name argument. When you are specifying a name for an expression and it have got the same name as the controller a conflict arise. Just drop the name argument and it should work. Alendit. On 27 Mrz., 09:54, Ajay wrote: > I am mi

Re: Newbie Problem with Django reverse()

2011-03-28 Thread Ajay
Hi Alendit, Thanks for explanation. I understand its not necessary but want to understand how reverse() works-checked source but did not understand much. my doubt is if I use something like : reverse('django.contrib.auth.views.password_change_done'), and have url entry like as follows. url(r'^

Re: Problem with Django! Please help

2012-01-27 Thread Tomas Neme
So, you need to create a "user registration" view. Plus, I'd just use auth.models.User https://docs.djangoproject.com/en/1.3/topics/auth/ because you're saving the passwords as plain text, and that is A Bad Thing. That, and because there's a bunch of stuff and apps you can use to help you on all

Re: Problem with Django starting up

2012-03-20 Thread Jani Tiainen
21.3.2012 7:50, Samuel Muiruri kirjoitti: I can't get the first part to work I assume that you have python installed to c:\python27\ You need to add c:\python27\scripts to your path. Or alternatively: c:\python27\scripts\django-admin.py startproject mysite -- Jani Tiainen -- You received

Re: Problem with Django starting up

2012-03-21 Thread Andre Terra
What I recommend is that you install pip and virtualenv, create a folder (say, C:\virtual\) where you will place different python "environments" per virtualenv, then create a folder (say, C:\projects) where you will create different django projects. This way you can always use virtualenv to "activ

problem with django model method save()

2012-07-04 Thread rafiee.nima
Hi Im some how new to django . I write a view to handle ajax request but I find out that save() method dose not save model instance in to the database here is my code def add_room(request): context={} status='' if request.is_ajax: if request.POST: hotel_instance=H

problem with django, nginx and gunicorn

2014-05-01 Thread 'ReneMarxis' via Django users
Hello i have some question on deploying an django app. I'm using nginx and gunicorn to publish one django app. For gunicorn i wanted to use gevent, because there are some calls to the app, that can take up to 5 minutes to finish (generating pdfs) Firsts question is more an understanding question

Re: Capability Problem With Django ORM

2008-01-24 Thread David Marquis
Hi xunSir, Personally, I can't understand your question. You will have to get some help with english speaking because what you wrote there is merely understandable. Thank you, -- David On 24-Jan-08, at 12:04 AM, xunSir wrote: class Person(models.Model): PIN = models.CharField(maxleng

Re: problem with django tagging application

2008-02-20 Thread Malcolm Tredinnick
On Wed, 2008-02-20 at 16:25 -0800, cesco wrote: > Hi, > > I'm using the latest version of the django tagging application (rev. > 132) and I'm having problems with the get_by_model method of the > TaggedItem manager. > > Say I have a QuerySet1 generated as follow: > QuerySet1 = TaggedItem.object

Re: problem with django tagging application

2008-02-20 Thread Brian Luft
Any chance you were using django-tagging previously and recently updated to trunk? There are backwards incompatible changes - the relation names have changed: http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleChanges -Brian On Feb 20, 4:25 pm, cesco <[EMAIL PROTECTED]> wrote: >

Re: problem with django tagging application

2008-02-21 Thread cesco
Hi > So the SQL that is being constructed by the joined queryset isn't valid. > I'm almost certain the answer to this is "it's fixed in > queryset-refactor, so will one day be fixed in trunk." Thanks for the work you are doing:-) > Pull the results back into Python and merge them manually. Cou

Re: problem with django tagging application

2008-02-21 Thread Francesco Davide Calabrese
See the changes listed here: http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleChanges you may be able to give directly the queryset rather than the model On Thu, Feb 21, 2008 at 1:25 AM, cesco <[EMAIL PROTECTED]> wrote: > Hi, > > I'm using the latest version of the django tagging

Re: problem with django tagging application

2008-02-21 Thread cesco
Hi, > Any chance you were using django-tagging previously and recently > updated to trunk? There are backwards incompatible changes - the > relation names have > changed:http://code.google.com/p/django-tagging/wiki/BackwardsIncompatibleCha... I was actually getting the same error before and af

Re: problem with django tagging application

2008-02-21 Thread Malcolm Tredinnick
On Thu, 2008-02-21 at 01:55 -0800, cesco wrote: > Hi > > > So the SQL that is being constructed by the joined queryset isn't valid. > > I'm almost certain the answer to this is "it's fixed in > > queryset-refactor, so will one day be fixed in trunk." > > Thanks for the work you are doing:-) >

Re: Problem with django unit testing

2008-03-30 Thread [EMAIL PROTECTED]
Any one who can help me? Thank you so much! On Mar 29, 11:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi, all, > > I meet a strangely problem on django unittesting. I use django svn > version, the test code like this: > > """ > from djan

  1   2   3   >