Django Improper Configuration

2011-01-23 Thread Kimberly
Hello! I have a problem with the Django. I was able to create django- admin.py startproject project in my home directory, and was able to see the files such as manage.py, init.py, settings.py, and so on. After some steps, I approached a problem with manage.py syncdb. It says that the database ENGIN

Questions - Django -- Bash problem

2011-01-23 Thread Kimberly
Hello, I have another question. When it comes to Django, I notice some people type as django-admin startproject project and some have to type as django-admin.py startproject project ( in my case, I had to do that), is it base on the setup of the Django that cause the differences between the admin.p

Re: Readonly on subset of forms in Admin inlines

2011-01-23 Thread Peter Phillips
Thanks for the reply! I probably didn't explain the problem properly. I have been using the ModelAdmin.readonly_fields option, however it hasn't been doing quite what I need for inline formsets. In the case of my inline form, when I set some of the fields to readonly, they end up read only for all

Re: Questions - Django -- Bash problem

2011-01-23 Thread Robbington
Hello Kimberly, The reason you are getting bash error, is the command you are looking for is "django-admin.py startapp tolls" not "manage.py startapp tolls". Rob -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send emai

Re: Django Improper Configuration

2011-01-23 Thread Mark Penix
your whole engine line should read 'ENGINE': 'django.db.backends.sqlite3' -- 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 from this group, send email to django-u

Re: Questions - Django -- Bash problem

2011-01-23 Thread Łukasz Rekucki
On 23 January 2011 11:54, Kimberly wrote: > Hello, I have another question. When it comes to Django, I notice some > people type as django-admin startproject project and some have to type > as django-admin.py startproject project ( in my case, I had to do > that), is it base on the setup of the Dj

Re: Hyphens in Django app/project names?

2011-01-23 Thread Russell Keith-Magee
On Tue, Jan 18, 2011 at 8:42 AM, Victor Hooi wrote: > Russ, > Aha, excellent, thanks for clearing that up =). > I can see you point - django-registration has a module called > "registration", django-extensions has a module called "django_extensions", > and django-staticfiles has one called "static

django + cherokee configuration problem

2011-01-23 Thread km
Hi all, I am running django (1.2.4) project ("myproject") with an app called "myapp". The tree looks this way: myproject |-- __init__.py |-- myapp | |-- __init__.py | |-- models.py | |-- templates | | |-- base.html | | |-- base_menu.html | |-- tests.py | |-- views.py |-- manage.p

Re: django + cherokee configuration problem

2011-01-23 Thread Ivo Brodien
> 1) Accessing http://localhost/myproject displays the whole hierarchy of > files in the "myproject" which is not what i want to display. > so how do i make "index" function in myapp/views.py render base.html as > before with cherokee ? looks like you put your django project root as the

Re: Django Deployment Statistics (via djangosites.org)

2011-01-23 Thread Aryeh Leib Taurog
On Jan 23, 7:03 am, Ross Poulton wrote: > Hello fellow Django users, > > A long time ago I started collecting deployment information from > Django users submitting their websites towww.djangosites.org. I > promised at the time to make the stats public, and although i've > shared them with a few I'

'if' statement improperly formatted

2011-01-23 Thread vamsy krishna
Hi, I'm getting the below exception from the third line in the snippet. This works fine on one server while fails on the other. Any help? Exception Type: TemplateSyntaxError Exception Value:'if' statement improperly formatted {% range 1:32

Why I cannot save an object in administration?

2011-01-23 Thread Flo
Hi all, I'm a new comer to Django. As a first step, I use Django Administration to manage my objects. But whenever I added or changed an object(or a user, the same thing), then click the "Save" button, the page just jumped to an error page, which said "the page cannot be displayed". It seems that

32-bit integers IP address to 4-octet IP address

2011-01-23 Thread Phillip Bailey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dear All, I've started playing around with Django in the last few days, and I'm enjoying the speed and the power of such framework. I'm writing a small application to display and sort ip addresses stored in a Postgresql database, right now I'm stuck

Confused by __unicode_cast and __str_cast in django.utils.functional

2011-01-23 Thread Kevin Xiao
Hi, I am stuck while look into source code of Django's lazy decorator. At line 205 of functinal.py, there is: def __unicode_cast(self): return self.__func(*self.__args, **self.__kw) def __str_cast(self): return str(self.__func(*self.__args, **self.__kw)) Why doesn't __

Some Questions

2011-01-23 Thread HOYAJIGI
1, Is it possible to use NoSQL(HBase or Cassandra) rather than SQL server in Django? 2. Is there any web log analysis "middleware" for django? If not why not make one? -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, se

Re: django + cherokee configuration problem

2011-01-23 Thread km
On Sun, Jan 23, 2011 at 6:42 PM, Ivo Brodien wrote: > > 1) Accessing http://localhost/myproject displays the whole hierarchy of > files in the "myproject" which is not what i want to display. > so how do i make "index" function in myapp/views.py render base.html > as before with cherokee ?

Re: 'if' statement improperly formatted

2011-01-23 Thread Karen Tracey
On Sun, Jan 23, 2011 at 8:25 AM, vamsy krishna wrote: > I'm getting the below exception from the third line in the snippet. > This works fine on one server while fails on the other. Any help? > > Exception Type: TemplateSyntaxError > Exception Value:'if' statement improperly format

Re: 'if' statement improperly formatted

2011-01-23 Thread vamsy krishna
Oh ok. Thanks for the direction. The server on which it fails uses django 1.1. I was looking through the documentation for the same and did not find anything related to relational operators in the django templates. Any idea how can I do '<', '>' in 1.1? On Jan 23, 6:39 pm, Karen Tracey wrote: >

Re: 'if' statement improperly formatted

2011-01-23 Thread vamsy krishna
I've added the smart if feature to my custom template tags to get this working. On Jan 23, 7:05 pm, vamsy krishna wrote: > Oh ok. Thanks for the direction. The server on which it fails uses > django 1.1. I was looking through the documentation for the same and > did not find anything related to r

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread Trevor Stanley
Karen Thanks for your reply. The reason I was trying to filter the id with count was that I had read somewhere that you have to pass sum at least two arguments (but may be I mis-understood what I was reading!) I have changed my code to: def get_fringe_value(self): ft = Fringe.o

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread bruno desthuilliers
On 23 jan, 17:27, Trevor Stanley wrote: >    Karen > > Thanks for your reply.  The reason I was trying to filter the id with > count was that I had read somewhere that you have to pass sum at least > two arguments (but may be I mis-understood what I was reading!) The Python builtin sum() function

Re: 32-bit integers IP address to 4-octet IP address

2011-01-23 Thread aledr
I guess socket.inet_ntoa is enough for what you need. On Sun, Jan 23, 2011 at 7:06 AM, Phillip Bailey wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > > Dear All, > > I've started playing around with Django in the last few days, and I'm > enjoying the speed > and the power of such f

Having some problems with admin css and such

2011-01-23 Thread Wes Wagner
I just started building a new app in 1.3 and I am having some static files problems (I read the new documentation) I am using pycharm as an IDE. If I run a collectstatic it will actually dump all the admin static files into my /static directory under my project but I can't get it so serve any of

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread Trevor Stanley
Thanks Bruno for the critique and you are right I don't know what I'm doing and I am rather learning by accident. I am not a programmer and don't profess to be one(yet). I have built the apps in the excellent book, Practical Django Projects and I have also worked through, The Definitive Guide

Re: 32-bit integers IP address to 4-octet IP address

2011-01-23 Thread phil...@bailey.st
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I aledr, thanks for your reply, I've added the socket.inet_ntoa to my view.py #view.py from django.http import HttpResponse import socket from snort.models import Iphdr def snort(request): ip = Iphdr.objects.values("ip_src") return so

Adding to admin logic

2011-01-23 Thread Tom
Hello, I am trying to get the company that I work at to use Django and Python for future webdevelopment (whereas now that is done with PHP). We have lots of different customers with lots of different website needs so the datamodel is different so webframeworks are good choice (over CMS maybe) and

Re: Having some problems with admin css and such

2011-01-23 Thread Wes Wagner
Figured it out... STATICFILES_DIRS = ( STATIC_ROOT,) Had to add my static root directory to the static files dir... Am I doing something kludgy or is the current documentation revision in the SVN wrong? -Wes On Jan 23, 10:32 am, Wes Wagner wrote: > I just started building a new app in 1.3 an

Re: Confused by __unicode_cast and __str_cast in django.utils.functional

2011-01-23 Thread Lachlan Musicman
On Sun, Jan 23, 2011 at 20:40, Kevin Xiao wrote: > Hi, > > I am stuck while look into source code of Django's lazy decorator. At > line 205 of functinal.py, there is: > >  def __unicode_cast(self): >            return self.__func(*self.__args, **self.__kw) > >  def __str_cast(self): >            r

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread bruno desthuilliers
On 23 jan, 23:20, Trevor Stanley wrote: > Thanks Bruno for the critique and you are right I don't know what I'm > doing and I am rather learning by accident.  I am not a programmer and > don't profess to be one(yet).  I have built the apps in the excellent > book, Practical Django Projects and I h

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
it still doesn't work. I typed it like you've suggested and it keeps saying that the database ENGINE has not been set. On Sun, Jan 23, 2011 at 5:11 AM, Mark Penix wrote: > your whole engine line should read > 'ENGINE': 'django.db.backends.sqlite3' > > -- > You received this message because you a

Re: Django Improper Configuration

2011-01-23 Thread Karen Tracey
On Sun, Jan 23, 2011 at 6:47 PM, Kimberly Harvey wrote: > it still doesn't work. I typed it like you've suggested and it keeps saying > that the database ENGINE has not been set. > > If you are using ENGINE by itself, you need to be using Django 1.2 or higher and ENGINE is a key in the dictionary

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
I've used the tutorials and it doesn't work. I've done exactly what the tutorial says, and it keeps saying that the ENGINE has not been set in the setting. I am also using Django 1.2 or higher version. On Sun, Jan 23, 2011 at 6:29 PM, Karen Tracey wrote: > On Sun, Jan 23, 2011 at 6:47 PM, Kimber

Re: Questions - Django -- Bash problem

2011-01-23 Thread Kimberly Harvey
Problems ( this is very frustrating!). In the settings.py file, I'm using the django 1.2 or higher, so it has ENGINE : '", and whatsnot I set the ENGINE to sqlite3, that didn't work. Then I added the path, and that still doesn't work. It keeps saying that the ENGINE has not been set. I have no clu

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
Rather than have us guess what is in your settings file, post that whole section. For example: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. 'NAME': os.path.join(ENVIRON_ROOT, 'db'

Re: Questions - Django -- Bash problem

2011-01-23 Thread Karen Tracey
On Sun, Jan 23, 2011 at 8:27 PM, Kimberly Harvey wrote: > Problems ( this is very frustrating!). > > In the settings.py file, I'm using the django 1.2 or higher, so it has > ENGINE : '", and whatsnot > I set the ENGINE to sqlite3, that didn't work. Then I added the path, and > that still doesn't w

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Sorry about that... here is what I have in the settings.py ( similiar to what you showed, but mine is abit different in the NAME section): DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', # Add 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'.

Re: Questions - Django -- Bash problem

2011-01-23 Thread Kimberly Harvey
Karen, I've already posted the result to the board. I am new to this Django world so I do not have full confident with how all of this work. Just started learning, so this is very new to me. By the way, sorry that I did not post the result earlier along with my frustration, I wasn't thinking, so I

Re: Questions - Django -- Bash problem

2011-01-23 Thread Kimberly Harvey
By the way, it is Django 1.2.4 to be exact On Sun, Jan 23, 2011 at 7:38 PM, Karen Tracey wrote: > On Sun, Jan 23, 2011 at 8:27 PM, Kimberly Harvey wrote: > >> Problems ( this is very frustrating!). >> >> In the settings.py file, I'm using the django 1.2 or higher, so it has >> ENGINE : '", and w

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 12:42:57 PM UTC+11, Kimberly wrote: > > Sorry about that... here is what I have in the settings.py ( similiar to > what you showed, but mine is abit different in the NAME section): > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.sqlite3',

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Still doesn't work. But thank you for trying to help me. It keep giving me the same ENGINE configuration that it is not set. On Sun, Jan 23, 2011 at 8:05 PM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > On Monday, January 24, 2011 12:42:57 PM UTC+11, Kimberly wrote: >> >> Sorry abo

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
Provide the full error including any Python traceback so we can see where the error is occurring. If running manage.py runserver, easiest thing to do is to provide the whole output from running the command. Graham On Monday, January 24, 2011 1:11:47 PM UTC+11, Kimberly wrote: > > Still doesn't

Re: 32-bit integers IP address to 4-octet IP address

2011-01-23 Thread aledr
>From the Django docs[1]: "values() takes optional positional arguments, *fields, which specify field names to which the SELECT should be limited. If you specify the fields, each dictionary will contain only the field keys/values for the fields you specify. If you don't specify the fields, each di

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
username@debian:~/wikicamps$ python manage.py runserver Validating models 0 errors found Django version 1.2.4, using settings 'wikicamp.settings' Development server is running at http://127.0.0.1:8000/ Quit the server with CONTROL-C. It runs fine, but yet I faced problem with the database ENG

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 1:36:10 PM UTC+11, Kimberly wrote: > > username@debian:~/wikicamps$ python manage.py runserver > Validating models > 0 errors found > > Django version 1.2.4, using settings 'wikicamp.settings' > Development server is running at http://127.0.0.1:8000/ > Quit the ser

Re: Django Improper Configuration

2011-01-23 Thread Steven Elliott Jr
I remember that the one time I tried sqlite it complained until I put a .db suffix on the name of my database. If you do not specify the full path and just specify a name, then it will just create the database file in your project's root directory. So, under name just put: 'NAME' : 'database.

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
The error that I am seeing is in the shell/ the terminal. I am unable to paste the exception problems on here. But I've typed it... look below After I've ran the python manage.py runserver, there was NO errors. But when I try to use, python manage.py syncdb, it showed errors/exceptions: Traceback

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
That doesn't work for me ( very very strange), that why I am very confused on what is going on with the database itself. On Sun, Jan 23, 2011 at 8:55 PM, Steven Elliott Jr wrote: > I remember that the one time I tried sqlite it complained until I put a .db > suffix on the name of my database. If

Re: Django Improper Configuration

2011-01-23 Thread Steven Elliott
Copy and Paste the following to replace your entire DATABASES tuple: DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': 'database.db', 'USER': '', 'PASSWORD': '',

Re: Django Improper Configuration

2011-01-23 Thread Steven Elliott
Also, what editor are you using? if its not an IDE-type thing remember to save your work in the editor. If you are coming from the Windows programming world generally your programs will save when you build and run something in the IDE. If you're using just an editor like Emacs, Vim, Gedit, Kate,

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
It is not working at all, still facing the same configuration problem (ENGINE IS NOT SET). On Sun, Jan 23, 2011 at 9:19 PM, Steven Elliott wrote: > Copy and Paste the following to replace your entire DATABASES tuple: > > DATABASES = { >'default': { >'ENGINE': 'django.db.backends.sqli

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 2:19:09 PM UTC+11, Steven Elliott Jr wrote: > > Copy and Paste the following to replace your entire DATABASES tuple: > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.sqlite3', > 'NAME': 'database.db', >

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
I am using pico editior and I've been saving the work by using the control X. On Sun, Jan 23, 2011 at 9:25 PM, Steven Elliott wrote: > Also, what editor are you using? if its not an IDE-type thing remember to > save your work in the editor. If you are coming from the Windows programming > world

Re: Django Improper Configuration

2011-01-23 Thread Steven Elliott
> That was already pointed out to them. You're right, sorry my bad -- I just got to my computer and read the thread rather than just using my phone. > The lack of a comma should have resulted in a syntax error, which makes me > believe, unless they modified the content before posting, that they

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
it says that the _file_ is not defined. On Sun, Jan 23, 2011 at 9:28 PM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > On Monday, January 24, 2011 2:19:09 PM UTC+11, Steven Elliott Jr wrote: >> >> Copy and Paste the following to replace your entire DATABASES tuple: >> >> DATABASES =

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
That is two underscores, followed by 'file' followed by two underscores. Not just a single underscore. Please try and cut and paste out we give to use and vice versa. In other words, provide complete output showing full errors and tracebacks. Such information may be meaningful to use even if yo

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
I've provided the full errors in the post, it is there. ( same errors as I've faced prior to adding the print __file__ and 'DATABASES', DATABASES) as I'm encountering the same after I've copied and paste the print inside the settings.py file at the end) On Sun, Jan 23, 2011 at 9:40 PM, Graham Dump

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
Are you saying that those two print statements you were told to add are not causing anything additional to be displayed on the screen when you run both runserver and syncdb? This is why I asked you to provide the output again. You may not understand what we are looking for. Don't care about wha

Re: Django Improper Configuration

2011-01-23 Thread Steven Elliott Jr
Just curious if you've done a python tutorial yet? It's hard to really understand Django well unless you have at least some working knowledge of python. You will most definitely struggle later on when things become more complicated with your app. The framework is great for repetitive tasks but

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 2:55:16 PM UTC+11, Graham Dumpleton wrote: > > Are you saying that those two print statements you were told to add are not > causing anything additional to be displayed on the screen when you run both > runserver and syncdb? > > This is why I asked you to provide the

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Thank you for the advices. I've done some Python codes in the past and recently. I already have a Python code that I will need to use to create a Django website ( response to Steven). (Response to Graham): Traceback ( most recent call last): File "manage.py", line 11, in execute_mana

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Traceback ( most recent call last): File "manage.py", line 11, in execute_manager(settings) File "/usr/lib/python2.5/site- packages/django/core/management/_init_.py", line 438, in execute manager File "/usr/lib/python2.5/site-packages/django/core/management/_init_.py", line 37

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
The output was produced with the print __file__ and print 'DATABASES', DATABASES at the end of the settings.py file. On Sun, Jan 23, 2011 at 10:18 PM, Kimberly Harvey wrote: > Traceback ( most recent call last): > File "manage.py", line 11, in > execute_manager(settings) > File

Re: django and scale9x (socallinuxexpo)

2011-01-23 Thread Gerald Fontejon
Thank you for spreading the word. Would like to get a response by 2/7/2011. I am also working on getting some python representation from a local LA group (socal piggies). Doubling up a python booth with django booth would be ideal. Thanks again Russ. -Gerald On 1/21/11 8:36 PM, Russell K

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 3:18:45 PM UTC+11, Kimberly wrote: > > Traceback ( most recent call last): > File "manage.py", line 11, in > execute_manager(settings) > File "/usr/lib/python2.5/site- > packages/django/core/management/_init_.py", line 438, in execute manager > Fi

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Please do the following and provide the output: pwd MY OUTPUT: /home/username/wikicamp Now run 'python' from the command line and do the following, providing the output to us: import settings print settings.__file__ import wikicamp.settings print wikicamp.settings.__file__ after imp

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
I did not modified the manage.py file On Sun, Jan 23, 2011 at 10:44 PM, Kimberly Harvey wrote: > Please do the following and provide the output: > > pwd > > MY OUTPUT: /home/username/wikicamp > > Now run 'python' from the command line and do the following, providing the > output to us: > >

Re: how to remove add and change links on admin dashboard

2011-01-23 Thread Subhranath Chunder
Override the templates. On 23 Jan 2011 07:12, "rahul jain" wrote: Hi Guys, how to remove add and change links + icons on admin dashboard ? Thanks. Rahul -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 3:44:59 PM UTC+11, Kimberly wrote: > > Please do the following and provide the output: > > pwd > > MY OUTPUT: /home/username/wikicamp > > Now run 'python' from the command line and do the following, providing the > output to us: > > import settings > print setti

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Sorry about that, there is nothing showing for either echo $PYTHONPATH and echo $DJANGO_SETTINGS_MODULE I am currently reading your messages. On Sun, Jan 23, 2011 at 10:55 PM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > > On Monday, January 24, 2011 3:44:59 PM UTC+11, Kimberly wro

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
/home/username/wikicamp/wikicamp/settings.py --> THIS DOES NOT EXIST WHAT DOES EXIST: /home/username/wikicamp and inside that directory, settings.py is there. On Sun, Jan 23, 2011 at 11:02 PM, Kimberly Harvey wrote: > Sorry about that, there is nothing showing for either echo $PYTHONPATH >

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 4:10:15 PM UTC+11, Kimberly wrote: > > > /home/username/wikicamp/wikicamp/settings.py --> THIS DOES NOT EXIST > > WHAT DOES EXIST: /home/username/wikicamp and inside that directory, > settings.py is there. > Earlier you said you got: import settings print set

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
The directory I did it from was from my home directory. I've moved the files like you've indicated by using mv settings.py settings.py.broken. Should I go ahead and type in the command as python manage.py syncdb to see if it works? On Sun, Jan 23, 2011 at 11:17 PM, Graham Dumpleton < graham.dumpl

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
I ran the syncdb and it says it doesn't recognize the wiki module. Also, when I moved the original file which was settings.py to settings.py.broken, that means I have to change the formats in the manage,py and other files so that it recognizes the settings.py.broken file, right? On Sun, Jan 23, 20

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 4:25:52 PM UTC+11, Kimberly wrote: > > The directory I did it from was from my home directory. I've moved the > files like you've indicated by using mv settings.py settings.py.broken. > > Should I go ahead and type in the command as python manage.py syncdb to see > i

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Screen: You just installed Django's auth system, which means you don't have any superusers defined. So it is working I do have a question... after I've used the move technique to move the settings.py settings.py.broken which places all of the file of settings.py inside the settings.py.broken

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 4:39:47 PM UTC+11, Kimberly wrote: > > Screen: > > You just installed Django's auth system, which means you don't have any > superusers defined. > > So it is working > > I do have a question... after I've used the move technique to move the > settings.py settings

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
LOL, I do have another thing I want to ask. I ran the server ( 0 errors) but when to the browser to check, http://127.0.0.1:8000/ and now it says it refused the connection. It said that the server may be busy or may have network connection problem. It also said I may have an old version of the pag

Re: Django Improper Configuration

2011-01-23 Thread Graham Dumpleton
On Monday, January 24, 2011 5:05:05 PM UTC+11, Kimberly wrote: > > LOL, I do have another thing I want to ask. I ran the server ( 0 errors) > but when to the browser to check, http://127.0.0.1:8000/ and now it says > it refused the connection. It said that the server may be busy or may have >

Re: Django Improper Configuration

2011-01-23 Thread Kimberly Harvey
Thanks for the advice. Thanks for your help! On Mon, Jan 24, 2011 at 12:10 AM, Graham Dumpleton < graham.dumple...@gmail.com> wrote: > > our help > On Monday, January 24, 2011 5:05:05 PM UTC+11, Kimberly wrote: >> >> LOL, I do have another thing I want to ask. I ran the server ( 0 errors) >> but

Django - Verfication of runserver vs browser

2011-01-23 Thread Kimberly
I ran the server by typing in the command: python manage.py runserver and there's ( 0 errors) but when I check the browser by placing the given url address: http://127.0.0.1:8000/, it says it refused the connection. It said that the server may be busy or may have network connection problem. It als

Re: Django - Verfication of runserver vs browser

2011-01-23 Thread Shawn Milochik
If you've been messing around quite a bit trying to fix other issues, the port may be held up by a zombie process or something. Try rebooting. If that doesn't work, see if the command line where runserver is running displays any message. Shawn -- You received this message because you are su

Re: Pinax: worth installing?

2011-01-23 Thread Derek
James I know that asking "when" for delivery of an open source project is not usually a question that can be answered accurately, but would it be possible for you to give at least a broad estimation of which of the following is closest to a time-frame for the next release that includes an updated-

Re: how to remove add and change links on admin dashboard

2011-01-23 Thread Derek
In the docs: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates Also helpful: http://www.ibm.com/developerworks/opensource/library/os-django-admin/index.html On Jan 24, 6:53 am, Subhranath Chunder wrote: > Override the templates. > > On 23 Jan 2011 07:12, "rahul

WEB SERVICE

2011-01-23 Thread sami nathan
Hi i want to do web service in using django My client is sending SOAP request and should send response as SOAP response i am now sucessful in this process using ZSI but i want to run the process in django server So i refered http://djangosnippets.org/snippets/979/ now it would be helpfull fo