Re: django - admin error

2020-08-21 Thread RANGA BHARATH JINKA
Try using virtual environment On Fri, 21 Aug 2020, 6:59 pm sapna Choudhary, wrote: > run command line django-admin ,you will see list of commands to run > > On Thu, Aug 20, 2020 at 6:47 PM company <2071...@hansung.ac.kr> wrote: > >> Hi, Django users. >> I started to learn programming this year

Re: django - admin error

2020-08-21 Thread sapna Choudhary
run command line django-admin ,you will see list of commands to run On Thu, Aug 20, 2020 at 6:47 PM company <2071...@hansung.ac.kr> wrote: > Hi, Django users. > I started to learn programming this year and joined to make new homepage > for my programming club. So I want to know how to solve this

Re: django - admin error

2020-08-20 Thread Ogunsanya Opeyemi
You are to call djando-admin as a module in python by running "python -m django-admin startproject mysite" On Thursday, August 20, 2020, company <2071...@hansung.ac.kr> wrote: > Hi, Django users. > I started to learn programming this year and joined to make new homepage > for my programming club

Re: django-admin error

2019-08-19 Thread Naty Mina
that's exactly what i tried to do but it doesn't work בתאריך יום ראשון, 18 באוגוסט 2019 בשעה 00:38:55 UTC+3, מאת Muhammad Nadeem: > > FIRST U NEED TO START A NEW PROJECT USING FOLLOWING CODE: > django-admin startproject mysite > WHERE "mysite" is the name of your project. you can

Re: django-admin error

2019-08-18 Thread DPM
Hi, Kindly do whatever some told to add in admin.py file above. Thats correct. After that u can see in admin panel .. And for heroku what error you are getting plz share screenshot. I can help you. On Mon, 19 Aug, 2019, 2:36 AM Gil Obradors, wrote: > 1.-Plese detail more : "But it not run" ?

Re: django-admin error

2019-08-18 Thread Gil Obradors
1.-Plese detail more : "But it not run" ? Any error? Admin screen withous the model? You can try doing with the same with decorator and class: from django.contrib import admin @admin.register(Pacientes) class PacientesAdmin(admin.ModelAdmin) pass Share errors, screen, behaveour... 2.- I

Re: django-admin error

2019-08-18 Thread Gabriel Araya Garcia
Hi Daniel: I have build a little app in Django, but i have two problems: 1) I can not see the tables in ADMIN, but nevertheless y put in admin.py: from .models import Pacientes admin.site.register(Pacientes) But it not run. 2) I can not upload my project to HEROKU, I've follow all the steps for t

Re: django-admin error

2019-08-18 Thread Mituka Devlin Bwanausi
I recommend this: https://www.udemy.com/the-ultimate-beginners-guide-to-django-django-2-python-web-dev-website/ Django 2.2 & Python | The Ulitmate Web Development Bootcamp. Good lectures and easy to grasp as you will also get through a python refresher before you get right into Django. On Sun

Re: django-admin error

2019-08-18 Thread Mituka Devlin Bwanausi
Type it all in one line.like this "*django-admin startproject mysite*" Your screen shot shows you trying to do things separately. On Saturday, August 17, 2019 at 10:33:43 PM UTC+2, Naty Mina wrote: > > hi, i'm new in django and trying to create my first project > i followed the documentation

Re: django-admin error

2019-08-18 Thread Arjun Reddy
> > Hi > I would like to start learning Django and can anyone suggest tutorial is best for beginners. -- 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-user

Re: django-admin error

2019-08-17 Thread Ronit Mishra
You've installed your django correctly. I can see the version in your snapshot. Also I think you're trying to call django-admin from a python shell. Just write the command 'django-admin startproject mysite' on the terminal/command prompt. This should do it. On Sun, Aug 18, 2019 at 4:08 AM Danie

Re: django-admin error

2019-08-17 Thread Daniel Agbaji
Please check to see it you got install Django properly with the version of Python you are using. On Sat, Aug 17, 2019, 4:38 PM Muhammad Nadeem wrote: > FIRST U NEED TO START A NEW PROJECT USING FOLLOWING CODE: > django-admin startproject mysite > WHERE "mysite" is the name of your project. you c

Re: django-admin error

2019-08-17 Thread Muhammad Nadeem
FIRST U NEED TO START A NEW PROJECT USING FOLLOWING CODE: django-admin startproject mysite WHERE "mysite" is the name of your project. you can change this name as you desired. if further u have any error fell free ping me On Sun, Aug 18, 2019 at 1:32 AM Naty Mina wrote: > hi, i'm new in djang

django-admin error

2019-08-17 Thread Naty Mina
hi, i'm new in django and trying to create my first project i followed the documentation and when i try to execute the django-admin startproject mysite i get error that 'no django settings specified' and to try 'django-admin.py help' instead for usage. the problem is when i try to do so, i get a

Re: admin error

2014-08-12 Thread ngangsia akumbo
http://bluepearlhotel.com/admin/ On Tuesday, August 12, 2014 2:26:21 PM UTC+1, ngangsia akumbo wrote: > > i am running my website on my local server apache on my machin when i type > > www.bluepearlhotel.com i get this error > > TemplateDoesNotExist at /admin/ > > admin/login.html > > Request Met

admin error

2014-08-12 Thread ngangsia akumbo
i am running my website on my local server apache on my machin when i type www.bluepearlhotel.com i get this error TemplateDoesNotExist at /admin/ admin/login.html Request Method:GETRequest URL:http://bluepearlhotel.com/admin/Django Version:1.4.3Exception Type:TemplateDoesNotExistException Val

Re: Django Admin Error: pop-up entry form

2013-11-20 Thread Derek
Solved. You need to add "u" to the unicode representation of your model's record. As in: def __unicode__(self): return u'%s' % self.fieldname This "error" does not show up in the normal admin page for the model, only when its accessed via the pop-up route. On Tuesday, 19 November

Django Admin Error: pop-up entry form

2013-11-19 Thread Derek
Hi I am using Django 1.5.5. This error happens while running the dev server. If I click on the "+" button so I can use the pop-up form to add a new entry to a drop-down list (i.e. FK to another model), I get the following error trace when trying to save that form. File "/home/derek/.virtualenvs/

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Wissal Khadrouf WBC
I went the hard way and changed all the null values untill I found out which one caused a problem Thanks 2013/4/24 Shawn Milochik > Ah, I missed that point. You could temporarily create an __init__ override > in your model and put the code there. > > -- > You received this message because you a

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Shawn Milochik
Ah, I missed that point. You could temporarily create an __init__ override in your model and put the code there. -- 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

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Wissal Khadrouf WBC
it's the admin view you're telling me to modify I'm sorry I'm faily new to django and I'm afraid I will do something wrong! 2013/4/24 Shawn Milochik > See what I said above about iterating through the fields in your view. Use > logging, print statements, or dump output to a file. > > > On Wed,

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Shawn Milochik
See what I said above about iterating through the fields in your view. Use logging, print statements, or dump output to a file. On Wed, Apr 24, 2013 at 10:39 AM, Wissal Khadrouf WBC < wissal.khadr...@wbc.ma> wrote: > That's what I was thinking,it's from the data > But I dont know wich field and

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Wissal Khadrouf WBC
That's what I was thinking,it's from the data But I dont know wich field and how to find out 2013/4/24 Shawn Milochik > Try iterating through your output in the view and look at field, > field.content, and if field.help_text. Somewhere you have a null value > which is None in Python. > > Since

Re: Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread Shawn Milochik
Try iterating through your output in the view and look at field, field.content, and if field.help_text. Somewhere you have a null value which is None in Python. Since the traceback you posted (if it's complete) is all from Django's code and not yours, then the error must be in your data. -- You

Django admin error : coercing to Unicode: need string or buffer, NoneType found

2013-04-24 Thread slim
Hello everyone, I have this error since a long time but can't figure it out : *Caught TypeError while rendering: coercing to Unicode: need string or buffer, NoneType found* It happens in admin when I try to add or modify on one of my models (display works fine) This is the model: class

Re: admin error, cannot edit fields or delete records, url refers to incorrect primary key

2012-05-19 Thread Malcolm MacKinnon
Problem solved. I had a double defined as my primary key in the mysql db. On Fri, May 18, 2012 at 10:49 PM, Mac wrote: > I've set up a 'Reps' model in the admin. I can add records > successfully, but if I try to change a record or field, I get a 404 > error. When I try to delete a record, I get

admin error, cannot edit fields or delete records, url refers to incorrect primary key

2012-05-18 Thread Mac
I've set up a 'Reps' model in the admin. I can add records successfully, but if I try to change a record or field, I get a 404 error. When I try to delete a record, I get this traceback here: http://dpaste.com/750121/ My primary keys are integers, but it appears that the urls return them as floats.

Re: Admin error

2012-02-15 Thread Stanwin Siow
I did. When admin.autodiscover() was uncommented out, It gives the syntax error when my admin.py was only as such: from r2.models import Keyword from django.contrib import admin admin.site.register(Keyword) Best Regards, Stanwin Siow On Feb 15, 2012, at 5:20 PM, Ervin Hegedüs wrote: > he

Re: Admin error

2012-02-15 Thread Ervin Hegedüs
hello, On Wed, Feb 15, 2012 at 04:48:18PM +0800, Stanwin Siow wrote: > ok i figured where that error was coming from. > > It was from the method: admin.autodiscover() > > What does this method do? in Django doc: https://docs.djangoproject.com/en/dev/ref/contrib/admin/ "Above we used admin.aut

Re: Admin error

2012-02-15 Thread Mike Dewhirst
On 15/02/2012 7:48pm, Stanwin Siow wrote: ok i figured where that error was coming from. It was from the method: admin.autodiscover() Well done!!! :) What does this method do? http://www.google.com.au/webhp?rlz=1C1GPEA_en___AU313&sourceid=chrome-instant&ix=sea&ie=UTF-8&ion=1#hl=en&rlz=1C1

Re: Admin error

2012-02-15 Thread Stanwin Siow
ok i figured where that error was coming from. It was from the method: admin.autodiscover() What does this method do? Best Regards, Stanwin Siow On Feb 15, 2012, at 3:12 PM, Mike Dewhirst wrote: > On 15/02/2012 5:41pm, Mike Dewhirst wrote: >>> >>> invalid syntax (admin.py, line 1) > > You

Re: Admin error

2012-02-14 Thread Mike Dewhirst
On 15/02/2012 5:41pm, Mike Dewhirst wrote: invalid syntax (admin.py, line 1) Your original error indicated there is an admin.py but with an error on line 1 or a missing admin.py which you have confirmed. That is the problem. To get your models to appear in the admin app you need an admin.p

Re: Admin error

2012-02-14 Thread Stanwin Siow
it is to no avail think that's only for modifying the admin. Best Regards, Stanwin Siow On Feb 15, 2012, at 2:41 PM, Mike Dewhirst wrote: > On 15/02/2012 5:10pm, Stanwin Siow wrote: >> Yes i have gone through the tutorial. >> >> And i've gotten my website up and running. >> >> But when i w

Re: Admin error

2012-02-14 Thread Mike Dewhirst
On 15/02/2012 5:10pm, Stanwin Siow wrote: Yes i have gone through the tutorial. And i've gotten my website up and running. But when i want to enable admin it gives me that error. Try creating a file called admin.py in the same directory as models.py and put this in it ... - - - - - - - fro

Re: Admin error

2012-02-14 Thread Stanwin Siow
Yes i have gone through the tutorial. And i've gotten my website up and running. But when i want to enable admin it gives me that error. Here is my urls.py: from django.conf.urls.defaults import patterns, include, url # Uncomment the next two lines to enable the admin: from django.contrib impo

Re: Admin error

2012-02-14 Thread Mike Dewhirst
On 15/02/2012 4:59pm, Stanwin Siow wrote: it's supposed to be django's admin page. Not quite. Can you give me an overview of what you have done with Django so far? For example, have you gone through the tutorial? I don't have an admin.py in my project folders Best Regards, Stanwin Siow

Re: Admin error

2012-02-14 Thread Stanwin Siow
it's supposed to be django's admin page. I don't have an admin.py in my project folders Best Regards, Stanwin Siow On Feb 15, 2012, at 1:46 PM, Mike Dewhirst wrote: > On 15/02/2012 4:39pm, Stanwin Siow wrote: >> Hi there, >> >> i'm getting this error when trying to get the default admin pa

Re: Admin error

2012-02-14 Thread Mike Dewhirst
On 15/02/2012 4:39pm, Stanwin Siow wrote: Hi there, i'm getting this error when trying to get the default admin page up. invalid syntax (admin.py, line 1) Could you post the contents of the offending file (admin.py) here? Any ideas where to rectify this? Thanks in advance Best Regards

Admin error

2012-02-14 Thread Stanwin Siow
Hi there, i'm getting this error when trying to get the default admin page up. invalid syntax (admin.py, line 1) Any ideas where to rectify this? Thanks in advance Best Regards, Stanwin Siow -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Django - UserProfile m2m field in admin - error

2011-05-29 Thread Ryan
I can confirm that I get the same error. I wonder if it is anything to do with the two different forms auth uses for user creation and change? On a side note, how did you get your code so nicely formatted? Ryan -- You received this message because you are subscribed to the Google Groups "Dj

InterfaceError at /admin/ Error binding parameter 1 - probably unsupported type.

2010-09-23 Thread justin jools
/admin/ Error binding parameter 1 - probably unsupported type.Request Method: POST Request URL: http://127.0.0.1:8000/admin/ Django Version: 1.3 pre-alpha Exception Type: InterfaceError Exception Value: Error binding parameter 1 - probably unsupported type. Exception Location: C:\Python26\lib\site

Re: Admin error with large charField

2010-06-14 Thread Jeff Green
I was able to trace the cause of the error, though not sure if this was the cause with other people. I loaded my data from an excel spreadsheet which copied a table from microsoft word. It seems that the copy from word puts some special characters in the database. I was able to manually type in t

Re: Admin error with large charField

2010-06-14 Thread Karen Tracey
On Mon, Jun 14, 2010 at 11:39 AM, Jeff Green wrote: > In one of my models, I have a CharField with Max_length of 2000 > characters. > When I try to delete the record via admin, I get an error value too > long for type character varying(200). > > It seems that the issue is because it is trying to

Admin error with large charField

2010-06-14 Thread Jeff Green
In one of my models, I have a CharField with Max_length of 2000 characters. When I try to delete the record via admin, I get an error value too long for type character varying(200). It seems that the issue is because it is trying to insert the record into the django_admin_log and the change_messag

admin error

2010-01-30 Thread zweb
Upgraded to 1.1.1 added admin for first time per instructions in settings.py and urls.py after upgrading to 1.1.1. No admin.py at this point. created new super user logged in to admin console for first time. and got the following error: In template /Library/Python/2.5/site-packages/django/contr

Re: nginx, apache, and odd admin error

2009-10-24 Thread rd-london
Sorry meant to add. Key sources of information: - http://wiki.nginx.org/NginxHttpProxyModule#proxy_redirect - http://forum.slicehost.com/comments.php?DiscussionID=3065 R On Oct 24, 8:58 pm, rd-london wrote: > Looks like I nailed the reverse proxy arrangement, apologies to all on > this mailin

Re: nginx, apache, and odd admin error

2009-10-24 Thread rd-london
Looks like I nailed the reverse proxy arrangement, apologies to all on this mailing list, this particular issue isn't something specific to Django: - Definitely do not need to configure SetRemoteAddrFromForwardedFor middleware ( http://code.djangoproject.com/browser/django/trunk/django/middlewar

Re: nginx, apache, and odd admin error

2009-10-24 Thread Tom Evans
On Fri, 2009-10-23 at 10:05 -0700, rd-london wrote: > > On a slightly separate note - forgetting the reverse proxy arrangment > for a moment, how would one serve admin on a separate port? > > Thanks for any help, > R Can't help with the other bit, but - in apache or nginx? In apache you'd simp

Re: nginx, apache, and odd admin error

2009-10-23 Thread rd-london
Right, well, replying to myself ... and hoping someone else will jump in, here's where I'm upto ... Having read around a bit, I figured that the reverse proxy my well be losing the original IP address, so I looked into configuring "SetRemoteAddrFromForwardedFor" (http://code.djangoproject.com/bro

nginx, apache, and odd admin error

2009-10-21 Thread rd-london
Hi, Wonder if someone can help.This issue is all with a local dev situation, so this isn't live. I have nginx running on port 81 e.g. http://127.0.0.1:81/ and serving static media - which in turn proxies through to Apache running on port 96. All works fine (apart from the issue I outline below) -

Re: Custom model field and Django-admin -- error

2009-08-10 Thread BenW
Excellent that it was reported, but bad that it's not considered a 'bug' -- Any suggestions on how to use date_hierarchy (and probably others) with my field? On Aug 10, 8:04 am, Alex Gaynor wrote: > On Mon, Aug 10, 2009 at 8:45 AM, BenW wrote: > > > Hello, > > > I'm working with a legacy databas

Re: Custom model field and Django-admin -- error

2009-08-10 Thread Jean Stebens
Alex Gaynor wrote: > On Mon, Aug 10, 2009 at 8:45 AM, BenW wrote: > >> Hello, >> >> I'm working with a legacy database that stores datetimes as unsigned >> ints. Rather than do the conversion with properties on the model I've >> written a custom Field 'UnixDateTimeField': >> >> class UnixDateT

Re: Custom model field and Django-admin -- error

2009-08-10 Thread Alex Gaynor
On Mon, Aug 10, 2009 at 8:45 AM, BenW wrote: > > Hello, > > I'm working with a legacy database that stores datetimes as unsigned > ints.  Rather than do the conversion with properties on the model I've > written a custom Field 'UnixDateTimeField': > > class UnixDateTimeField(models.DateTimeField):

Custom model field and Django-admin -- error

2009-08-10 Thread BenW
Hello, I'm working with a legacy database that stores datetimes as unsigned ints. Rather than do the conversion with properties on the model I've written a custom Field 'UnixDateTimeField': class UnixDateTimeField(models.DateTimeField): __metaclass__ = models.SubfieldBase def get_inte

Re: Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Anthony
Well, I figured it out. I needed to rerun they 'syncdb' command after making my change. Thanks for reading! On May 2, 8:49 am, Anthony wrote: > On May 2, 1:32 am, Daniel Roseman > wrote: > > > On May 2, 8:48 am, Anthony wrote: > > > My model: > > > > class Bracket(models.Model): > > >    

Re: Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Anthony
On May 2, 1:32 am, Daniel Roseman wrote: > On May 2, 8:48 am, Anthony wrote: > > My model: > > > class Bracket(models.Model): > >     m = models.ForeignKey(OtherModel) > > <- no problem with this > >     parent = models.ForeignKey('self', blank=True

Re: Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Daniel Roseman
On May 2, 8:48 am, Anthony wrote: > I'm trying to instantiate a recursive object model via the admin, but > am getting an error. > > My model: > > class Bracket(models.Model): >     m = models.ForeignKey(OtherModel) >     parent = models.ForeignKey('self', blank=True, null=True) >     name = mode

Recursive Model Setup in Admin - Error (null, blank = True)

2009-05-02 Thread Anthony
I'm trying to instantiate a recursive object model via the admin, but am getting an error. My model: class Bracket(models.Model): m = models.ForeignKey(OtherModel) parent = models.ForeignKey('self', blank=True, null=True) name = models.CharField(max_length = 30) The error: Integr

Re: residual fields admin error

2009-04-15 Thread Daniel Roseman
On Apr 15, 4:24 am, CrabbyPete wrote: > I am just starting coding with django. So please bear with me. > > I made a change to my User model so the field email_addr is now email. > I deleted the database, made new tables with manage.py, did a resync, > and changed all the code that refered to emai

Re: residual fields admin error

2009-04-14 Thread zayatzz
i think the change has not hit the database. if your database is still empty then try doing python manage.py reset appname - that clears whole app database though. Alan On Apr 15, 6:24 am, CrabbyPete wrote: > I am just starting coding with django. So please bear with me. > > I made a change to

residual fields admin error

2009-04-14 Thread CrabbyPete
I am just starting coding with django. So please bear with me. I made a change to my User model so the field email_addr is now email. I deleted the database, made new tables with manage.py, did a resync, and changed all the code that refered to email_addr to email. Everything looks fine, but I st

Re: admin error didn't clear until I reloaded polls detail view

2008-09-25 Thread Daniel Roseman
On Sep 25, 5:36 pm, arnold4321 <[EMAIL PROTECTED]> wrote: > Hi, > > I'm just getting started with Django.  I'm working through the > tutorial on setting up my first app.  I ran into something that > strikes me as odd.  I guess I must have had some mistake in my polls/ > views.py file, because I wa

admin error didn't clear until I reloaded polls detail view

2008-09-25 Thread arnold4321
Hi, I'm just getting started with Django. I'm working through the tutorial on setting up my first app. I ran into something that strikes me as odd. I guess I must have had some mistake in my polls/ views.py file, because I was getting an error at mysite.com/admin to that effect with debug mode

Re: django-admin error

2008-04-30 Thread [EMAIL PROTECTED]
I know this may sound dumb but are you actually on the correct drive to be issuing that command? Also are you using the svn or .96. Not that it matters I am just curious. On Apr 30, 9:57 am, curt <[EMAIL PROTECTED]> wrote: > I've completed the install of python and django and I'm trying to run

django-admin error

2008-04-30 Thread curt
I've completed the install of python and django and I'm trying to run django-admin to start the first project in the tutorial. When I enter the command: django-admin.py startproject mysite I get the following response: Type 'django-admin.py help' for usage. What am I doing wrong? Thanks... -

Re: Django admin Error at /admin/auth/user/1/?

2008-04-05 Thread Sky
I think I solved this problem after I upgrade my python version from 2.3 to 2.5. before I used python2.3 on Dreamhost, /admin/auth/user/1/ raise a http404 exception thanks! On Apr 6, 7:31 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sat, Apr 5, 2008 at 1:43 AM, Sky <[EMAIL PROTECTED]> wrote

Re: Django admin Error at /admin/auth/user/1/?

2008-04-05 Thread Karen Tracey
On Sat, Apr 5, 2008 at 1:43 AM, Sky <[EMAIL PROTECTED]> wrote: > > my site is hosted by Dreamhost, Dreamhost can use DATABASE_ENGINE = > 'mysql_old' for djngo, my django admin panel broken at /admin/auth/ > user/1/ , but /admin/auth/user/1/password/ is fine > and on my local compute I used DATABA

Django admin Error at /admin/auth/user/1/?

2008-04-04 Thread Sky
my site is hosted by Dreamhost, Dreamhost can use DATABASE_ENGINE = 'mysql_old' for djngo, my django admin panel broken at /admin/auth/ user/1/ , but /admin/auth/user/1/password/ is fine and on my local compute I used DATABASE_ENGINE = 'mysql' are works fine, why?? My django version is the newest

Re: ViewDoesNotExist admin error.

2008-03-04 Thread Mitja Martini
Hi Chris, you may have a problem with your urls.py - check if you activated the admin site correctly (see http://www.djangoproject.com/documentation/tutorial02/#activate-the-admin-site - check if you have a pattern that catches /admin/ earlier on Do you use django-profiles? If yes: You do not u

ViewDoesNotExist admin error.

2008-03-04 Thread Chris
Hello, Not sure what has happened but I keep getting this error when attempting to login to my admin section. I key in Username and pass and once I press submit django returns this error: Request Method: GET Request URL:http://django.xyz.net/admin/ Exception Type: ViewDoesNotE

Re: Django admin error?

2008-02-25 Thread nwgadgetguy
FYI: The 'max_digits' specifies the field size, the 'decimal_places' specifies where to place the decimal point within the field. ;o) Have a nice day, and Happy Programming! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: Django admin error?

2008-02-25 Thread PB
That was it. Cheers! On Feb 24, 3:10 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > > On Sat, 2008-02-23 at 06:42 -0800, PB wrote: > > > When trying to add 46.229253 to a floatfield > > > I get displayed error: > > > > Please enter a valid decimal number with a whole part of at most -19 > > > di

Re: Django admin error?

2008-02-24 Thread Karen Tracey
> On Sat, 2008-02-23 at 06:42 -0800, PB wrote: > > When trying to add 46.229253 to a floatfield > > I get displayed error: > > > Please enter a valid decimal number with a whole part of at most -19 > > digits > > > Any ideas? On Sun, Feb 24, 2008 at 9:04 AM, PB <[EMAIL PROTECTED]> wrote: > > Hi,

Re: Django admin error?

2008-02-24 Thread PB
Hi, I'm using Django 0.96. The model has the lines: latitude = models.FloatField(null=True, max_digits=12, decimal_places=31, blank=True) longitude = models.FloatField(null=True, max_digits=12, decimal_places=31, blank=True) Then when trying to use the admin tool it throws the above error.

Re: Django admin error?

2008-02-23 Thread Malcolm Tredinnick
On Sat, 2008-02-23 at 06:42 -0800, PB wrote: > When trying to add 46.229253 to a floatfield > I get displayed error: > > Please enter a valid decimal number with a whole part of at most -19 > digits > > Any ideas? What happens when you do enter a float with negative nineteen (or fewer) digits?

Django admin error?

2008-02-23 Thread PB
When trying to add 46.229253 to a floatfield I get displayed error: Please enter a valid decimal number with a whole part of at most -19 digits Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django user

Re: Revision 6391 Admin error

2007-10-26 Thread Jason Sidabras
Thank you for taking my jumbled post and helping me. It seems that even though I haven't added my new script yet in my INSTALLED_APPS it was checking it. Removing the errors in that script cleared up the problem. Thank you, jason On Oct 26, 7:52 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote

Re: Revision 6391 Admin error

2007-10-26 Thread Malcolm Tredinnick
On Fri, 2007-10-26 at 15:49 -0700, Jason Sidabras wrote: > Hello, > > In an effort to keep up with svn with django I have just upgraded all > of my sites to the newest svn revision. The problem is after updating > I get the error: > > >NameError at /admin/ > >name 'PasswordField' is not defined

Revision 6391 Admin error

2007-10-26 Thread Jason Sidabras
Hello, In an effort to keep up with svn with django I have just upgraded all of my sites to the newest svn revision. The problem is after updating I get the error: >NameError at /admin/ >name 'PasswordField' is not defined >Request Method:GET >Request URL: http://xxx/admin/ >Exception

Re: Admin error trying to run Django 91& 97 on same hostname w/different ports

2007-10-25 Thread [EMAIL PROTECTED]
On Oct 24, 11:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm running Django 91 and 97 on my development server with different > port numbers and I'm getting admin errors when I log in to the 91 > sites. If I hit refresh enough times, eventually it works. In case anyone is having th

Admin error trying to run Django 91& 97 on same hostname w/different ports

2007-10-24 Thread [EMAIL PROTECTED]
.execute("SELECT " + (kwargs.get('distinct') and "DISTINCT " or "") + ",".join(select) + sql, params) File "/home/code/django/core/db/base.py" in execute 10. result = self.cursor.execute(sql, params) ProgrammingError at /admin/ ERROR: column

Re: overriding save, non-admin error

2007-09-06 Thread RajeshD
On Sep 4, 7:18 am, canburak <[EMAIL PROTECTED]> wrote: > I have a problem on overriding the save() method. > my new save is: > class ClassName: > def save(self): > self.title = self.title.title() > super(ClassName, self).save() > > when admin site uses this save(), I get the non-unique

Re: overriding save, non-admin error

2007-09-04 Thread Alex Koshelev
What is self.title and self.title.title() ? On 4 , 15:18, canburak <[EMAIL PROTECTED]> wrote: > I have a problem on overriding the save() method. > my new save is: > class ClassName: > def save(self): > self.title = self.title.title() > super(ClassName, self).save() > > when admin s

overriding save, non-admin error

2007-09-04 Thread canburak
I have a problem on overriding the save() method. my new save is: class ClassName: def save(self): self.title = self.title.title() super(ClassName, self).save() when admin site uses this save(), I get the non-unique exception at django/python level but I hope to see a red box in the adm

Re: Admin Error

2007-06-09 Thread Christopher
I got it, no worries :) On Jun 9, 5:30 pm, Christopher <[EMAIL PROTECTED]> wrote: > looks like it's not when i am saving but rather trying to list the > one's I have saved. > > On Jun 9, 5:26 pm, Christopher <[EMAIL PROTECTED]> wrote: > > > Hi, I am using Django SVN version updated today. I have

Re: Admin Error

2007-06-09 Thread Christopher
looks like it's not when i am saving but rather trying to list the one's I have saved. On Jun 9, 5:26 pm, Christopher <[EMAIL PROTECTED]> wrote: > Hi, I am using Django SVN version updated today. I have made a model > and done the Admin code so I can see it in the Admin section of my > site and

Admin Error

2007-06-09 Thread Christopher
Hi, I am using Django SVN version updated today. I have made a model and done the Admin code so I can see it in the Admin section of my site and it all looks fine. When I try to save something in there I get the following error: Django version 0.97-pre, using settings 'totalimpact.settings' Dev

Admin error

2007-02-04 Thread aribao
Hello, I got this problem using django 0.95.1 under Debian sid python 2.4. Thank you. Traceback (most recent call last): File "/var/lib/python-support/python2.4/django/core/handlers/base.py" in get_response 74. response = callback(request, *callback_args, **callback_kwargs) File "/var/lib/pytho