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

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 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: 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 in a ubuntu Server

2017-08-22 Thread James Schneider
On Aug 22, 2017 7:17 PM, wrote: Hello there, i have a problem with django, when i upload all my files and run the manager.py runserver to an ubuntu server, it turns just to localhost and the main page throws this... It worked! Congratulations on your first Django-powered page. Of course, you

Re: Problem with Django and python social auth

2016-12-06 Thread Alessandro Bispo dos Santos
Please ignore the capital letters. The code is correct. social_auth = models.OneToOneField ( 'default.UserSocialAuth', related_name = 'social_influence') Em 05-12-2016 14:38, Alessandro Bispo dos Santos escreveu: Hello. I'm new in Django. Has anyone here worked with python

Re: problem with django, nginx and gunicorn

2014-05-02 Thread 'ReneMarxis' via Django users
Hello Javier also thank you for your answer. However i do know how to implement such a long running task for a customer. I generaly use celery and send out an email with a link on completition of such a task. For simple tasks i use just a cronjob. Most of those jobs run on an separeate machine

Re: problem with django, nginx and gunicorn

2014-05-01 Thread Javier Guerra Giraldez
On Thu, May 1, 2014 at 9:06 AM, 'ReneMarxis' via Django users wrote: > I started reading a little bit related to GIL. I think this is the root of > my problem. I'm using xhtml2pdf to generate some large pdf's (up to 200 > pages). no, the problem isn't the GIL. no matter the framework, language

Re: problem with django, nginx and gunicorn

2014-05-01 Thread 'ReneMarxis' via Django users
Hello Erik thanks for your responce! I started reading a little bit related to GIL. I think this is the root of my problem. I'm using xhtml2pdf to generate some large pdf's (up to 200 pages). I do know i have to rewrite this code to run in background (e.g. using celery). However i want to und

Re: problem with django, nginx and gunicorn

2014-05-01 Thread Erik Cederstrand
Den 01/05/2014 kl. 13.11 skrev 'ReneMarxis' via Django users : > Now to my problem... Doing one blocking call to my app, and having only on > worker, blocks my entire application. > In the gunicorn logs (startup) i can see, that gevent is used, but the calls > seem to be synchronus. If your gr

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 = >

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 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 and django-pyodbc

2013-05-04 Thread Thomas De Reyck
Hi, I had almost exactly the same issue just a week ago. Try using the django-pyodbc-azure fork. It works great for me. Mvg, Thomas De Reyck On 3-mei-2013, at 00:47, Kerry Calvert wrote: > I have Django running on a Windows server with MS Sql using django-pyodbc. I > had Django version 1.4.2

Re: Problem with Django 1.5.1 and django-pyodbc

2013-05-03 Thread Vernon D. Cole
Kerry: This is not what you asked for, but it might work for both of us... I am working on an update for django-mssql for 1.5.1 and could really use a beta tester. To be specific, I am pulling the old, customized ado api module out and replacing it with the next version of adodbapi. (The *next*

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 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 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
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 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 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-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 model method save()

2012-07-04 Thread Tomas Neme
I don't see why wouldn't your model's .save() work, maybe we'd need to see the model code, but I know you probably want to read this: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/ once you've implemented a ModelForm, you'd pretty much would just do form = RoomForm(request.POST)

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 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-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 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

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-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 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 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 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 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 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 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 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 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

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! 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 and AJAX: Empty responsetext

2011-11-21 Thread Furbee
Disclaimer: I don't know if this is at all related, but I had an issue with an AJAX object I created outside a function. Can you try this and let me know if it works? Change this: var searchReq = getXmlHttpRequestObject(); to this: searchReq = getXmlHttpRequestObject(); and move it into searchSug

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

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-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 book in Forms chapter 7

2011-08-07 Thread Gmail - neonmark
From: hayya...@hotmail.com To: django-users@googlegroups.com Subject: RE: Problem with django book in Forms chapter 7 Date: Sun, 7 Aug 2011 20:11:51 + Hi just started facing the s

RE: Problem with django book in Forms chapter 7

2011-08-07 Thread Hayyan Rafiq
;contact_form.html', {'form': form}) From: hayya...@hotmail.com To: django-users@googlegroups.com Subject: RE: Problem with django book in Forms chapter 7 Date: Sun, 7 Aug 2011 20:11:51 + Hi just started facing the same problem which you did in chapter 7 . I tried

RE: Problem with django book in Forms chapter 7

2011-08-07 Thread Hayyan Rafiq
_FAILURE_VIEW setting. > Date: Sun, 7 Aug 2011 09:10:36 +0200 > From: rafadurancastan...@gmail.com > To: django-users@googlegroups.com > Subject: Re: Problem with django book in Forms chapter 7 > > I had the same problem as you, since the book was written using an

Re: Problem with django book in Forms chapter 7

2011-08-07 Thread Rafael Durán Castañeda
I had the same problem as you, since the book was written using an older django version and there was some changes on csrf for django version 1.2. Looking at django docs https://docs.djangoproject.com/en/1.3/ref/contrib/csrf/#how-to-use-it you can read recommended way to use this On 06/08/11

Re: Problem with django auth login_required and lighttpd

2011-01-11 Thread Eric Chamberlain
John, We have a similar configuration, try adding: FORCE_SCRIPT_NAME = '' to settings.py On Jan 11, 2011, at 2:44 PM, John Finlay wrote: > I'm trying to serve django pages using mod_fastcgi from a lighttpd server. > Everything works well using the setup recommended in the documentation excep

RE: Problem with Django webserver on HP

2010-01-28 Thread Kairam, Raj
roups.com] On Behalf Of Karen Tracey Sent: Thursday, January 28, 2010 1:34 PM To: django-users@googlegroups.com Subject: Re: Problem with Django webserver on HP On Thu, Jan 28, 2010 at 1:12 PM, Kairam, Raj wrote: Core dump and nothing happening in the browser. Core dump is a Should Ne

Re: Problem with Django webserver on HP

2010-01-28 Thread Karen Tracey
On Thu, Jan 28, 2010 at 1:12 PM, Kairam, Raj wrote: > Core dump and nothing happening in the browser. Core dump is a Should Never Happen type of thing with Python, and likely not due to any Django code, which is pure Python. An incompatible/broken C extension might cause it so my first thing t

Re: Problem with Django webserver on HP

2010-01-28 Thread Jorge Bastida
Note that the default IP address, 127.0.0.1, is not accessible from other machines on your network. To make your development server viewable to other machines on the network, use its own IP address (e.g. 192.168.2.1) or 0.0.0.0. >From any other computer in your network the url will be server/yours

RE: Problem with Django webserver on HP

2010-01-28 Thread Kairam, Raj
@googlegroups.com Subject: Re: Problem with Django webserver on HP http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-port-or-ipaddr-port Try with python manage.py runserver 0.0.0.0:8000 2010/1/28 rajk HP-UX B.11.00 Django-1.1.1 myhost:/h

Re: Problem with Django webserver on HP

2010-01-28 Thread Jorge Bastida
http://docs.djangoproject.com/en/dev/ref/django-admin/#runserver-port-or-ipaddr-port Try with python manage.py runserver 0.0.0.0:8000 2010/1/28 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.

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

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-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/Jython and Postgres backend

2009-08-19 Thread fwierzbicki
On Aug 18, 10:54 am, Brandon Taylor wrote: > Hi everyone, > > I'm getting this exception with the latest Django-Jython and > Jython2.5: What version of Django are you using? What where you doing at the time that you get this error? -Frank --~--~-~--~~~---~--~~

Re: Problem with Django/Jython and Postgres backend

2009-08-19 Thread Thomas Guettler
Hi Brandon, I don't use Jython and not OSX, but if you look at the stacktrace and at the source, you should see the error. Brandon Taylor schrieb: > File "/Users/btaylor/jython2.5.0/Lib/site-packages/doj/backends/ > zxjdbc/postgresql/base.py", line 54, in __init__ > self.client = Database

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 tagging: how to add tags??

2008-12-09 Thread Andrew Davison
> I am using django tagging and have problems adding tags to an object. > > There are 2 methods that enable adding a tag: > - add_tag() > - update_tags() > > -- > for tag in parse_inputs(form.cleaned_data['tags']): > Tag.objects.add_tag(tag) >

Re: Problem with Django 1.0 admin on Russian language

2008-09-19 Thread Fedya
Everybody, thank you for feedback. Karen, you were absolutely right! I've changed collation to utf8_unicode_ci and Django is converting strings to unicode! This is fine! Thanks a lot! RTFM :-) On Sep 18, 6:12 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > Since you say you are using UTF8_BIN c

Re: Problem with Django 1.0 admin on Russian language

2008-09-18 Thread Karen Tracey
Since you say you are using UTF8_BIN collation on MySQL, be sure to read: http://docs.djangoproject.com/en/dev/ref/databases/#collation-settings When you specify a binary collation in MySQL, your application code has to take on the responsibility of transforming bytestrings returned by the databa

Re: Problem with Django 1.0 admin on Russian language

2008-09-18 Thread Grigory Fateyev
Hello Fedya! On Thu, 18 Sep 2008 07:24:16 -0700 (PDT) you wrote: > > Unfortunately I'm dummy in python... so it's twice harder to find the > reason... But I'm still trying :) Maybe this helps? # grep -i utf8 /usr/lib/python2.4/site.py encoding = "utf8" # Default value set by _PyUnicode_In

Re: Problem with Django 1.0 admin on Russian language

2008-09-18 Thread Fedya
Unfortunately I'm dummy in python... so it's twice harder to find the reason... But I'm still trying :) I wrote very simple view: def main_menu(request): html = '' menu = Item.root('main').children() for s in menu[0].title: html = '%s %s' % (html, ord(s)) html = '%s%s' %

Re: Problem with Django 1.0 admin on Russian language

2008-09-18 Thread Fedya
Still something wrong with character set. When I use Russian characters inside value of a field in one table, Django admin interface can't show list of object corresponding to that table. Like I'm trying to access http://test.legalsw.ru/admin/menu/item/ and getting: TemplateSyntaxError at /admin/

Re: Problem with Django 1.0 admin on Russian language

2008-09-18 Thread Fedya
hm... I've tried with very simple model from the scratch and I got the same problem without init_command... On Sep 18, 2:30 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2008-09-18 at 01:57 +0300, Fedor Tyurin wrote: > > Another possible solution (and probably better one) is to use

Re: Problem with Django 1.0 admin on Russian language

2008-09-17 Thread Malcolm Tredinnick
On Thu, 2008-09-18 at 01:57 +0300, Fedor Tyurin wrote: > Another possible solution (and probably better one) is to use > init_command option set to 'SET NAMES utf8'. Django and MySQLdb already do this by default. Django passes the "charset='utf-8'" parameter to the connection and MySQLdb turns t

Re: Problem with Django 1.0 admin on Russian language

2008-09-17 Thread Fedor Tyurin
Another possible solution (and probably better one) is to use init_command option set to 'SET NAMES utf8'. 2008/9/18 Fedor Tyurin <[EMAIL PROTECTED]> > I set default-character-set to cp1251 (default server encoding) and now > admin seems to work correctly > > 2008/9/18 Fedor Tyurin <[EMAIL PROTEC

Re: Problem with Django 1.0 admin on Russian language

2008-09-17 Thread Fedor Tyurin
I set default-character-set to cp1251 (default server encoding) and now admin seems to work correctly 2008/9/18 Fedor Tyurin <[EMAIL PROTECTED]> > It seems to be related with database connection properties. I've tried with > sqlite3 and problem disappeared. > > If I run mysql console and request

Re: Problem with Django 1.0 admin on Russian language

2008-09-17 Thread Fedor Tyurin
It seems to be related with database connection properties. I've tried with sqlite3 and problem disappeared. If I run mysql console and request status (\s command) mysql response the following information about character set: Server characterset:cp1251 Db characterset:utf8 Client chara

Re: Problem with django unit testing

2008-03-31 Thread [EMAIL PROTECTED]
Firstly, thanks for your suggestions! I change the apps and class name then turn on the verbosity mode to test, but I can't see nothing abnormal output. Today I run the same unit test of this project on another computer and they all passed, so I think there are some problem with my development en

Re: Problem with django unit testing

2008-03-30 Thread Russell Keith-Magee
On Sat, Mar 29, 2008 at 11:00 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > but when I run unit test to test the failed function use: > $ ./manage.py test apps.test.test_template > there will be ok: > """ > . > ---

Re: Problem with django unit testing

2008-03-30 Thread Kenneth Gonsalves
On 30-Mar-08, at 1:31 PM, [EMAIL PROTECTED] wrote: > Any one who can help me? Thank you so much! be patient - it is a weekend ;-) -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You received this message be

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

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 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 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-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-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 admin after update to development version

2008-01-14 Thread Rocco Pellegrini
this exactly solve the problem: 1) drop from the database the table django_content_type. 2) run python manage.py syncdb to recreate the table. On Jan 14, 9:44 pm, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > Thanks to all. > I dropped tha table django_content_type and all worked wery well. > > O

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
Thanks to all. I dropped tha table django_content_type and all worked wery well. On Jan 14, 8:53 pm, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > no home1 in blog.urls > I searched in the net for the problem and I founded in this > forumhttp://www.nabble.com/Error-message-when-viewing-admin--%

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
no home1 in blog.urls I searched in the net for the problem and I founded in this forum http://www.nabble.com/Error-message-when-viewing-admin--%28ViewDoesNotExist-at--admin-%29-to13022675.html an answer: """Did you have a view named "startsess" that you subsequently deleted? Admin is looking for

Re: problem with django admin after update to development version

2008-01-14 Thread David Grant
Look in prog_innov.blog.urls too 2008/1/14 Rocco Pellegrini <[EMAIL PROTECTED]>: > > urlpatterns = patterns('', ># Example: ># (r'^prog_innov/', include('prog_innov.apps.foo.urls.foo')), > ># Uncomment this for admin: >(r'^admin/', include('django.contrib.admin.urls')), >(r'^b

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
urlpatterns = patterns('', # Example: # (r'^prog_innov/', include('prog_innov.apps.foo.urls.foo')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^blog/', include('prog_innov.blog.urls')), (r'^editoriali/', include('prog_innov.editorial

Re: problem with django admin after update to development version

2008-01-14 Thread Grindizer
what do you have in your urls.py ? On 14 jan, 15:57, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > I removed it but the response was the same. > ??? > Request Method: GET > Request URL:http://innovatorieuropei.com/admin/ > Exception Type: ViewDoesNotExist > Exception Value:

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
It means that you haven't delete all references to this commented view. On 14 янв, 17:57, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > I removed it but the response was the same. > ??? > Request Method: GET > Request URL:http://innovatorieuropei.com/admin/ > Exception Type: V

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
I removed it but the response was the same. ??? Request Method: GET Request URL:http://innovatorieuropei.com/admin/ Exception Type: ViewDoesNotExist Exception Value:Tried home1 in module prog_innov.views. Error was: 'module' object has no attribute 'home1' I dont' undes

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
It is a solution. """ Tried home1 in module prog_innov.views. Error was: 'module' object has no attribute 'home1' """ Uncomment it or remove this view from urls.py On 14 янв, 17:29, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > yes > > On Jan 14, 3:22 pm, Grindizer <[EMAIL PROTECTED]> wrote: >

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
yes On Jan 14, 3:22 pm, Grindizer <[EMAIL PROTECTED]> wrote: > > #def home1(request) > > # return HttpResponseRedirect('http://www.innovatorieuropei.com/ > > are this lines commented in you code ? --~--~-~--~~~---~--~~ You received this message because you are su

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
Error is still in you code. May be you(django when imports modules and parses the urls.py files) try to import name that doesn't exists. Check urls.py and models.py files. On 14 янв, 16:35, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > Alex hi, > no error in my code. > I followed the instructions

Re: Re: problem with django admin after update to development version

2008-01-14 Thread patrick . o
I am on a client site on the 11th Jan. I shall respond to your email on my return. Many thanks Patrick O'Connor --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: problem with django admin after update to development version

2008-01-14 Thread Grindizer
> #def home1(request) > # return HttpResponseRedirect('http://www.innovatorieuropei.com/ are this lines commented in you code ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: problem with django admin after update to development version

2008-01-14 Thread Rocco Pellegrini
Alex hi, no error in my code. I followed the instructions from documentation and home1 code is another thing. This is the code: #def home1(request) # return HttpResponseRedirect('http://www.innovatorieuropei.com/ editoriali/') in my views.py in the root site. In the documentation there is no co

Re: problem with django admin after update to development version

2008-01-14 Thread Alex Koshelev
Error is in your code. Read the exception's message. On 14 янв, 16:06, Rocco Pellegrini <[EMAIL PROTECTED]> wrote: > Before admin worked well. Now with development version this is the > result: > ViewDoesNotExist at /admin/ > Tried home1 in module prog_innov.views. Error was: 'module' object has

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 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

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

  1   2   >