We won’t be using django.openid.consumer. we use USDA eAuthentication.
this is the system used by USDA agencies to enable users to obtain
accounts that will allow them to access USDA Web applications and
services via the Internet.
How do I eliminate django.openid.consumer when trying to use a Pin
thanks for the advice, but
#set DJANGO_SETTINGS_MODULE=mysite.settings
#python manage.py syncdb --settings=settings
# ln -s /usr/lib/python2.5/site-packages/pinax /home/pubuntu/pinax
# python manage.py suncdb
#curl -o pinax-boot.py http://svn.pinaxproject.com/pinax/trunk/scripts/pinax-boo
t.pt
#p
'myapp1.person',
)
pubu...@pubuntu:~/django-trunk/build/lib/django/bin/myapp1$
I tried doing export DJANGO_SETTINGS_MODULE=myapp1.person as in
settings.py, but got same error.
On May 7, 10:30 am, Sieker Adi Jörg wrote:
> Hi,
>
> On 07.05.2009, at 16:02, bconnors wrote:
&
I saw this chat related to DJANGO_SETTINGS_MODULE is undefined.
Hello I am new to Django.
I am trying to exercise "templates" through the interactive shell,
however I end up getting this error. Can anyone help?
here is the exact steps I follow:
1) cd C:\Django\mysite
2) set DJANGO_SETTINGS_MODULE=
I'm looking at How to run manage.py syncdb without being prompted to
create a superuser
at
http://code.djangoproject.com/wiki/CookBookScriptsNoSuperUserSyncdb
>>> from django.core import management
>>> from django.dispatch import dispatcher
>>> from django.contrib.auth.management import create_s
touch worked for me.
thanks
On May 4, 11:31 am, Mike Ramirez wrote:
> I forgot to mention that sqlite3 expects a file to be there, it can't create
> one on it's own, using ./manage.py syncdb. To do so I use touch, tho you can
> also do the same thing with vi, if you save it as an empty file (
ng for default. Not
used with
sqlite3.
# Local time zone for this installation. Choices can be found here:
@
"settings.py" 81 lines, 2871 characters
On May 4, 10:01 am, Phil Mocek
wrote:
> On Mon, May 04, 2009 at 05:33:05AM -0700, bconnors wrote:
> > I created a mysite.db
e3/
base.py", li
ne 170, in _cursor
self.connection = Database.connect(**kwargs)
sqlite3.OperationalError: unable to open database file
On May 4, 8:08 am, bconnors wrote:
> I’m getting the error “unable to open database file”
>
> I have sqlite3:
>
> pubu...@pubuntu:~/dj
I’m getting the error “unable to open database file”
I have sqlite3:
pubu...@pubuntu:~/django-trunk/build/lib/django/bin/mysite$ python
Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more informa
ite/mysite
On Apr 28, 8:57 am, Karen Tracey wrote:
> On Mon, Apr 27, 2009 at 1:30 PM, bconnors wrote:
>
> > With my ubuntu I can’t type @
>
> That's bizarre, but a topic for another list.
>
>
>
> > So I can’t do :
> > export PYTHONPATH=/path/to/your/
@
that I can use?
On Apr 27, 12:32 pm, Karen Tracey wrote:
> On Mon, Apr 27, 2009 at 10:40 AM, bconnors wrote:
> > [snip stuff related to removing old Django level]
> > I found that my site/packages is in /usr/lib/python2.5/site-packages
> > and in that directory I d
n Fri, Apr 24, 2009 at 1:43 PM, bconnors wrote:
>
> > i eliminated the field in Poll question = models.CharField
> > (max_length=200) and Choice choice = models.CharField(max_length=200)
> > and the error went away
>
> Sure, but eliminating use of CharFields (plus, as you
i eliminated the field in Poll question = models.CharField
(max_length=200) and Choice choice = models.CharField(max_length=200)
and the error went away
On Apr 24, 11:35 am, bconnors wrote:
> I get:
>
> Python 2.5.2 (r252:60911, Jul 31 2008, 17:28:52)
> [GCC 4.2.3 (Ubuntu 4.2.3-2
from=olddocs
from django.db import models
class Poll(models.Model):
question = models.CharField(max_length=200)
pub_date = models.DateTimeField('date published')
class Choice(models.Model):
poll = models.ForeignKey(Poll)
choice = models.CharField(max_length=200)
votes
/site-packages
/mnt/C/Python25/Lib/site-packages
On Apr 24, 9:28 am, bconnors wrote:
> I created a djsite folder and put new django there
>
> pubu...@pubuntu:~/djsite/mysite$
> + svn cohttp://code.djangoproject.com/svn/django/trunk/django-trunk
> Checked out revision 10630.
&g
rom?
On Apr 22, 2:35 pm, Daniel Roseman
wrote:
> xOn Apr 22, 7:30 pm, bconnors wrote:
>
>
>
>
>
> > I just updated django
>
> > pubu...@pubuntu:~$ sh -x dj
> > + svn cohttp://code.djangoproject.com/svn/django/trunk/django-trunk
> > U django-trunk/dj
I just updated django
pubu...@pubuntu:~$ sh -x dj
+ svn co http://code.djangoproject.com/svn/django/trunk/ django-trunk
Udjango-trunk/django/db/backends/oracle/creation.py
Udjango-trunk/django/forms/models.py
Udjango-trunk/django/contrib/gis/db/models/sql/query.py
Udjango-trunk/dj
$ python manage.py
syncdb
but got :
Error: Couldn't install apps, because there were errors in one or more
models:
mysite.polls: __init__() got an unexpected keyword argument
'max_length'
pubu...@pubuntu:~/django-trunk/django/bin/mysite$
On Apr 22, 11:00 am, bconnors wrote:
> I get :
n",
}
]
I copied my bob file into the fixtures directory.
pubu...@pubuntu:~/django-trunk/django/bin/mysite$ python manage.py
loaddata bob
Loading 'bob' fixtures...
No fixtures found.
pubu...@pubuntu:~/django-trunk/django/bin/mysite$
On Apr 20, 3:28 pm, Daniel Roseman
wrote:
>
How do I set up a initial_data.json file? At
http://docs.djangoproject.com/en/dev/howto/initial-data/
I came across this “Or, you can write fixtures by hand; fixtures can
be written as XML, YAML, or JSON documents. The serialization
documentation has more details about each of these supported
ser
I have a Windows PC which I installed Portable Ubuntu -- which gives
you linux on it. I’m trying to do
Python manage.py syncdb so I can get Django working. Trouble is in
Linux I’m not able to input @ sign
1 Tried ascii representation of @ sign #64 and
2 Tried hex representation of @
when I typed in: http://127.0.0.1:8000/admin/
I got:
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\django\core\servers
\basehttp.py", line 278, in run
self.result = application(self.environ, self.start_response)
File "C:\Python26\Lib\site-packages\django\core\s
in followingWwriting your first Django app, part 2
when I typed in: http://127.0.0.1:8000/admin/
I got:
Traceback (most recent call last):
File "C:\Python26\Lib\site-packages\django\core\servers
\basehttp.py", line 278, in run
self.result = application(self.environ, self.start_response)
ine 1, in
ImportError: DLL load failed with error code 193
On Jan 16, 8:53 am, Jarek Zgoda wrote:
> Wiadomość napisana w dniu 2009-01-16, o godz. 14:39, przez bconnors:
>
> > Settings.py wants a sqlite3.db. When I loaded python 2.5 I got a
> > sqlite3.dll and sqlite3.pyd
Settings.py wants a sqlite3.db. When I loaded python 2.5 I got a
sqlite3.dll and sqlite3.pyd sqlite3.lib, but no sqlite3.db. I used
sqlite3.pyd and got:
File "C:\Python25\Lib\site-packages\django\db\__init__.py", line 16,
in
backend = __import__('%s%s.base' % (_import_path,
settings.DATABAS
my bad. i read that sqlite3 was supplied by python 2.5. i have python
2.4. the base.py says sqlite2 is correct for prior to python 2.5, but
that didn't work either. tomorrow i install python 2.5. will that
work?
On Jan 14, 2:16 pm, bconnors wrote:
> In the settings.py it says “ If yo
In the settings.py it says “ If you're new to databases, we recommend
simply using SQLite (by setting DATABASE_ENGINE to 'sqlite3').”
I did that but get this error:
C:\PROGRA~1\plone\Python\jan13django\mysite>..\..\python manage.py
syncdb
Traceback (most recent call last):
File "manage.py", l
i'm trying for a free download of mysql from the internet. the 1st 3
tries i've failed on.
--~--~-~--~~~---~--~~
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@googl
At my pythonpath directory I type in:
Python django-admin.py
and I get :
Type 'django-admin.py help' for usage, which is :
#!/usr/bin/env python
from django.core import management
if __name__ == "__main__":
management.execute_from_command_line()
what can i do?
--~--~-~--~~
29 matches
Mail list logo