Error in admin page- TemplateSyntaxError at /admin/login/

2020-01-08 Thread Body Abdo
Dear all , I've error when accesses in admin page : 'admin_static' is not a registered tag library. Must be one of: admin_list admin_modify admin_urls cache django_ajax_tags i18n import_export_tags l10n log static tags tz -- You received this message because you are subscribed to the Google Grou

Re: "no such column" database error in admin

2013-09-23 Thread Avraham Serour
it looks like you changed the model after running syncdb, syncdb is able to create tables but not to add or remove columns. for that you should take a look at south, it is called database migrations. you may also delete the database and recreate On Mon, Sep 23, 2013 at 10:53 AM, Beverly Block w

"no such column" database error in admin

2013-09-23 Thread Beverly Block
I'm trying to use the admin interface, and while it's working for my User object, when I try to access the Event object I get this: Request Method: GET Request URL: http://localhost:8000/admin/test1/event/ Django Version: 1.5.4 Exception Type: DatabaseError Exception Value: no such column

Re: Date Error in Admin Form

2010-12-29 Thread ckar...@googlemail.com
Thanks, but USE_I18N = True USE_L10N = True in settings.py resolved my problem :-) On 29 Dez., 18:03, Marcos Moyano wrote: > Take a look at the docs on how to set up valid input formats > > http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#date-... > > Rgds, > Marcos > > On Wed, D

Re: Date Error in Admin Form

2010-12-29 Thread Marcos Moyano
Take a look at the docs on how to set up valid input formats http://docs.djangoproject.com/en/dev/ref/settings/?from=olddocs#date-format Rgds, Marcos On Wed, Dec 29, 2010 at 1:39 PM, ckar...@googlemail.com < ckar...@googlemail.com> wrote: > Hi everybody, > > I'm getting a strange error with a d

Date Error in Admin Form

2010-12-29 Thread ckar...@googlemail.com
Hi everybody, I'm getting a strange error with a datefield in the django admin. My Settings: · TIME_ZONE = 'Europe/Berlin' · LANGUAGE_CODE = 'de-DE' · USE_I18N = True The according models.py entry: zeithorizont = models.DateField(blank=True, null=True) Screenshot (german): http://static.karrie.

Re: Error in Admin - can't seem to chain __unicode__'s for ForeignKeys

2010-07-08 Thread euan.godd...@googlemail.com
I think the problem you're facing is that you're trying to concatenate a string and an object together. Before I dive into the explanation, you might want to bear a couple of things in mind: 1) Your unicode method doesn't explicitly return a unicode object which will be a problem if any of the var

Error in Admin - can't seem to chain __unicode__'s for ForeignKeys

2010-07-08 Thread Victor Hooi
heya, I have a small Django app that contains a list of Df (disk-free) reports. "DfReport" has a ForeignKey to "Filesystem" model, which has a ForeignKey to "Device". (i.e. Devices has filesystems, each filesystem has a DfReport). I'm getting an error in the admin when I attempt to display the l

Re: 404 error in admin interface with mod_python and >=django-1.1

2010-06-11 Thread Jan Meier
On 11 Jun., 15:30, Karen Tracey wrote: > Yes, you've got your admin registrations in your models.py file. models.py > won't necessarily be loaded early in a production environment with > DEBUG=False, so these registration calls are not running before you start > using admin. Move admin registrati

Re: 404 error in admin interface with mod_python and >=django-1.1

2010-06-11 Thread Karen Tracey
On Fri, Jun 11, 2010 at 4:49 AM, Jan Meier wrote: > And my model my_app/models.py looks as follows: > > from django.db import models > from django.contrib import admin > > class Blubb(models.Model): >x = models.IntegerField() > > admin.site.register(Blubb) > > Any ideas what could be wron

404 error in admin interface with mod_python and >=django-1.1

2010-06-11 Thread Jan Meier
Hi, I am serving my django project with mod_python and ran into a problem regarding the admin interface (django.contrib.admin). If DEBUG = False is set in settings.py the admin interface generates 404 error messages when clicking on any of my models, for example to add a new entry. The django ship

Error in admin template when try to login

2010-04-19 Thread Ovnicraft
Hi django users, i set enable the admin in my project, when i load the localhost/admin url the first time login is showed, try to login and get this[1] error, this is my admin.py[2], but i dont know how to identify the problem, i need your help to identify it. best regards, [1] http://dpaste.co

Re: NullBooleanField save error in Admin

2010-03-09 Thread Karen Tracey
Sounds like a bug. I don't recall seeing one like it reported before, so if you could open a ticket for it that would be appreciated. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@google

NullBooleanField save error in Admin

2010-03-09 Thread Ed Hagen
Hi, I have a model field defined thus: benefit = models.NullBooleanField() In django 1.1 and 1.2 pre-alpha, nulls were displayed with a "?" icon in list view. In the Admin change form, a pop-up menu appeared with 3 options (Unknown, Yes, No). Setting to "Unknown" and saving did not generate any

Re: unbound method __unicode__() error in Admin page with ManyToMany

2009-11-11 Thread django_fo...@codechimp.net
I honestly dont know how that got in there. I probably copied/pasted it in there by mistake, but that was indeed the problem. Thanks! On Nov 11, 12:33 pm, Karen Tracey wrote: > On Wed, Nov 11, 2009 at 12:06 PM, django_fo...@codechimp.net < > > codech...@gmail.com> wrote: > > > I am sorry, it w

Re: unbound method __unicode__() error in Admin page with ManyToMany

2009-11-11 Thread Karen Tracey
On Wed, Nov 11, 2009 at 12:06 PM, django_fo...@codechimp.net < codech...@gmail.com> wrote: > > I am sorry, it was up all night working on this, and I was tired, and > honestly didn't want to piss anyone off or offend anyone. > > I was not angry or offended, sorry if I gave that impression. I was

Re: unbound method __unicode__() error in Admin page with ManyToMany

2009-11-11 Thread django_fo...@codechimp.net
I am sorry, it was up all night working on this, and I was tired, and honestly didn't want to piss anyone off or offend anyone. ...here is the actual code in question: Snippet from models.py: class DisneySpotType(models.Model): name = models.CharField(max_length=128, primary_key=True) d

Re: unbound method __unicode__() error in Admin page with ManyToMany

2009-11-11 Thread Karen Tracey
On Wed, Nov 11, 2009 at 7:06 AM, django_fo...@codechimp.net < codech...@gmail.com> wrote: > > I have a class, A, that has a ManyToMany reference to another class, B > like so: > >class B(models.Model): >name = models.CharField() > >def __unicode__(self) >return self

unbound method __unicode__() error in Admin page with ManyToMany

2009-11-11 Thread django_fo...@codechimp.net
I have a class, A, that has a ManyToMany reference to another class, B like so: class B(models.Model): name = models.CharField() def __unicode__(self) return self.name class A(models.Model): name = models.CharField() bees = models.ManyToManyFi

SQL syntax error in Admin

2009-10-24 Thread Tim Valenta
If there's nothing I can determine here, I'll move over to submitting a ticket on the matter. Wanted to check in here first. Using... Django 1.2 SVN revision 11653, (updated just 2 minutes ago) MySQL 5.1.31 Models: class Category(models.Model): category = models.CharField() class Question(

Re: broken url error in admin

2009-02-24 Thread Jlcarroll
That solves part of the problem: URLField.verify_exists¶ If True (the default), the URL given will be checked for existence (i.e., the URL actually loads and doesn't give a 404 response). But there still appears to be no way to verify the existence of a directory that is protected, which is

Re: broken url error in admin

2009-02-21 Thread James Bennett
On Sat, Feb 21, 2009 at 11:52 PM, Jlcarroll wrote: > What is the best way to fix this? What if someone wants to enter a > broken url in an admin page? What if the url isn't broken, just > requires a login? Please read the documentation for URLField, which explains how to control this validation

broken url error in admin

2009-02-21 Thread Jlcarroll
when editing a url field in the admin, I entered the url of a page that used apache to authenticate, and required a valid django user to log in. The admin, said that hte url was broken, and required me to "fix" the field before it would save it. There was no "over-ride, I know what I am doing" opt

Re: Strange 404 error in admin

2009-02-09 Thread Karen Tracey
On Mon, Feb 9, 2009 at 11:45 PM, Julien Phalip wrote: > > On Feb 10, 3:19 pm, Karen Tracey wrote: > > On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip wrote: > > > Hello again, > > > > > I finally fixed it with the following nasty hack: > > > > > class Entry(models.Model): > > >... some fi

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 10, 3:19 pm, Karen Tracey wrote: > On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip wrote: > > Hello again, > > > I finally fixed it with the following nasty hack: > > > class Entry(models.Model): > >        ... some fields ... > > >         objects = models.Manager() # Nasty hack > >      

Re: Strange 404 error in admin

2009-02-09 Thread Karen Tracey
On Mon, Feb 9, 2009 at 4:17 PM, Julien Phalip wrote: > Hello again, > > I finally fixed it with the following nasty hack: > > class Entry(models.Model): >... some fields ... > > objects = models.Manager() # Nasty hack >published = PublishedEntryManager() > > It seems like

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 10, 7:52 am, Julien Phalip wrote: > On Feb 10, 7:41 am, Alex Gaynor wrote: > > > I don't know what manager old forms admin used, but do you have a custom > > manager that blocks access to some objects. > > Thanks Alex for your reply. You've made a really good point which > helped me track

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 10, 7:41 am, Alex Gaynor wrote: > I don't know what manager old forms admin used, but do you have a custom > manager that blocks access to some objects. Thanks Alex for your reply. You've made a really good point which helped me track this down. Here are the model and manager: class Publ

Re: Strange 404 error in admin

2009-02-09 Thread Alex Gaynor
On Mon, Feb 9, 2009 at 3:40 PM, Julien Phalip wrote: > > On Feb 9, 7:20 pm, Julien Phalip wrote: > > Hi, > > > > This is a strange case. I have a simple blog entry model which can be > > edited in the admin, from the URL that looks like: > http://www.example.com.au/admin/blog/entry/52/ > > > > N

Re: Strange 404 error in admin

2009-02-09 Thread Julien Phalip
On Feb 9, 7:20 pm, Julien Phalip wrote: > Hi, > > This is a strange case. I have a simple blog entry model which can be > edited in the admin, from the URL that looks > like:http://www.example.com.au/admin/blog/entry/52/ > > Now, what is strange is that the link above returns a 404. Same with >

Strange 404 error in admin

2009-02-09 Thread Julien Phalip
Hi, This is a strange case. I have a simple blog entry model which can be edited in the admin, from the URL that looks like: http://www.example.com.au/admin/blog/entry/52/ Now, what is strange is that the link above returns a 404. Same with the entry id=51. Yet, entries with id=51,52 do exist.

Re: TabularInline across apps causing unknown error in admin.

2008-11-14 Thread J. Cliff Dyer
On Fri, 2008-11-14 at 11:41 -0500, Karen Tracey wrote: > On Fri, Nov 14, 2008 at 11:28 AM, J. Cliff Dyer <[EMAIL PROTECTED]> > wrote: > > Using Django 1.0, devel server, on RHEL5, with python 2.4. > > I have two apps, venues and content. A venues.Venue is linked

Re: TabularInline across apps causing unknown error in admin.

2008-11-14 Thread J. Cliff Dyer
On Fri, 2008-11-14 at 11:41 -0500, Karen Tracey wrote: > On Fri, Nov 14, 2008 at 11:28 AM, J. Cliff Dyer <[EMAIL PROTECTED]> > wrote: > > Using Django 1.0, devel server, on RHEL5, with python 2.4. > > I have two apps, venues and content. A venues.Venue is linked

Re: TabularInline across apps causing unknown error in admin.

2008-11-14 Thread Karen Tracey
On Fri, Nov 14, 2008 at 11:28 AM, J. Cliff Dyer <[EMAIL PROTECTED]>wrote: > > Using Django 1.0, devel server, on RHEL5, with python 2.4. > > I have two apps, venues and content. A venues.Venue is linked to > content.Source via a ManyToManyField defined through VenueSource. When > I try to includ

TabularInline across apps causing unknown error in admin.

2008-11-14 Thread J. Cliff Dyer
Using Django 1.0, devel server, on RHEL5, with python 2.4. I have two apps, venues and content. A venues.Venue is linked to content.Source via a ManyToManyField defined through VenueSource. When I try to include VenueSource in the Admin form, the admin page for a given Venue shows up fine, but

Re: gettext is not defined - js error in admin calendar.js

2008-10-13 Thread Natim
I did it :D Here are my information : Here is my Form.Field definition : dob = forms.DateField(label="Date of birth", input_formats=['%Y-%m- %d'], widget=forms.DateTimeInput(attrs={'class':'vDateField'})) And that's it :D On 13 oct, 08:52, Natim <[EMAIL PROTECTED]> wrote: > You have t

Re: gettext is not defined - js error in admin calendar.js

2008-10-12 Thread Natim
You have to do like that : And define in you urls.py (r'^jsi18n/$', 'django.views.i18n.javascript_catalog', {'packages': 'django.conf'}), Let me know if it does works :) On 8 sep, 14:37, ykb <[EMAIL PROTECTED]> wrote: > Could you please let us know in a little more detail on how to set the

Re: gettext is not defined - js error in admin calendar.js

2008-09-08 Thread ykb
Could you please let us know in a little more detail on how to set the jsi18n path. Where is "/admin/jsi18n/" referring to? Thanks, Yadu. On Aug 20, 1:38 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > That did it. Many Thanks! > > On Aug 19, 3:09 pm, Daniel Roseman <[EMAIL PROTECTED]> > w

Re: gettext is not defined - js error in admin calendar.js

2008-08-19 Thread [EMAIL PROTECTED]
That did it. Many Thanks! On Aug 19, 3:09 pm, Daniel Roseman <[EMAIL PROTECTED]> wrote: > On Aug 19, 5:28 pm, "[EMAIL PROTECTED]" > > > > <[EMAIL PROTECTED]> wrote: > > Hello, > > > I'm trying to use the datetime picker widget from the admin widgets. > > > My form is displaying, but the datetime

Re: gettext is not defined - js error in admin calendar.js

2008-08-19 Thread Daniel Roseman
On Aug 19, 5:28 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to use the datetime picker widget from the admin widgets. > > My form is displaying, but the datetime picker is not. When I check > the error console, I see the message: > > Error: gettext is not defined > S

gettext is not defined - js error in admin calendar.js

2008-08-19 Thread [EMAIL PROTECTED]
Hello, I'm trying to use the datetime picker widget from the admin widgets. My form is displaying, but the datetime picker is not. When I check the error console, I see the message: Error: gettext is not defined Source File: http://localhost:8001/media/js/calendar.js Line: 26 And another in Da

Re: Strange error in admin interface when adding a new record (core.js and RelatedObjectLookups.js?)

2008-07-15 Thread Huuuze
Disregard. Odd issue with my ADMIN_MEDIA_PREFIX. On Jul 15, 2:13 pm, Huuuze <[EMAIL PROTECTED]> wrote: > When I click the button to add a new Person object (one of my objects, > not the User object) in the admin interface, I receive the following > error in my console window: > > ERROR:  invalid

Strange error in admin interface when adding a new record (core.js and RelatedObjectLookups.js?)

2008-07-15 Thread Huuuze
When I click the button to add a new Person object (one of my objects, not the User object) in the admin interface, I receive the following error in my console window: ERROR: invalid input syntax for integer: "static_media/admin/js/ core.js" STATEMENT: SELECT "person_person"."id", "person_perso

Re: string indices must be integers error in admin - don't know where to start debugging

2008-07-08 Thread Jon Loyens
Problem solved. Just need to copy in my local version of Django On Jul 7, 6:29 pm, Jon Loyens <[EMAIL PROTECTED]> wrote: > Hi everyone, > > I've got a problem and I don't even know where to start debugging > it... there seems to be a difference between the way my app is > behaving between my loc

string indices must be integers error in admin - don't know where to start debugging

2008-07-07 Thread Jon Loyens
Hi everyone, I've got a problem and I don't even know where to start debugging it... there seems to be a difference between the way my app is behaving between my local environment and my deployment environment. Hopefully you guys can give me some idea where to start. I've written a small PR appl

Re: ManyToManyField: Error in Admin Interface

2008-03-27 Thread tom
That was the solution. I removed the symmetrical=False and also the unique=True and now it works. many thanks for your help, Karen! On 26 Mrz., 22:04, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Tue, Mar 25, 2008 at 9:08 AM, tom <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I try to add some dat

Re: ManyToManyField: Error in Admin Interface

2008-03-26 Thread Karen Tracey
On Tue, Mar 25, 2008 at 9:08 AM, tom <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to add some data through the Admin interface but I get an SQL > Error when I try to add a ManyToMany Relation. > > The model: > class Artist(models.Model): >name = models.CharField(max_length=200, blank=True) >

Re: ManyToManyField: Error in Admin Interface

2008-03-26 Thread Karen Tracey
On Tue, Mar 25, 2008 at 9:08 AM, tom <[EMAIL PROTECTED]> wrote: > > Hi, > > I try to add some data through the Admin interface but I get an SQL > Error when I try to add a ManyToMany Relation. > > The model: > class Artist(models.Model): >name = models.CharField(max_length=200, blank=True) >

Re: ManyToManyField: Error in Admin Interface

2008-03-26 Thread tom
some additional information: the SQL statement out of the postgres logfile SELECT "users_artist"."id","users_artist"."name","users_artist"."abstract","users_artist"."logo","users_artist"."image","users_artist"."myspace_link","users_artist"."youtube_link","users_artist"."home_dir","users_artist"."

Re: ManyToManyField: Error in Admin Interface

2008-03-25 Thread tom
Sorry, did forget to mention that I am using postgresql8.2 on Mac OS X Leopard. The web server is running through the ./manage.py script. cheers On 25 Mrz., 14:08, tom <[EMAIL PROTECTED]> wrote: > Hi, > > I try to add some data through the Admin interface but I get an SQL > Error when I try to a

ManyToManyField: Error in Admin Interface

2008-03-25 Thread tom
Hi, I try to add some data through the Admin interface but I get an SQL Error when I try to add a ManyToMany Relation. The model: class Artist(models.Model): name = models.CharField(max_length=200, blank=True) abstract = models.TextField(blank=True, help_text=_('Give a short introduction

Re: GeoDjango : Error in admin site with geom fields

2007-09-17 Thread guillaume
seems there's a bad trick like this indeed. I'm gonna check this all. Thanks for the clue On 16 sep, 19:38, "Ariel Mauricio Nunez Gomez" <[EMAIL PROTECTED]> wrote: > Did you have a previous geos installation?? > Maybe you have some old .so's that are being linked instead of the new ones. > > Ari

Re: GeoDjango : Error in admin site with geom fields

2007-09-16 Thread Ariel Mauricio Nunez Gomez
Did you have a previous geos installation?? Maybe you have some old .so's that are being linked instead of the new ones. Ariel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

GeoDjango : Error in admin site with geom fields

2007-09-16 Thread guillaume
Hi, I've build up a small geodjango app. Using the admin-site to view the records of my table gives me : /usr/lib/libgeos_c.so: undefined symbol: GEOSGeomFromHEX_buf my geos version is 3.0.0.RC4 my model is : class commune(models.Model, models.GeoMixin): depcom = models.CharField(maxlength=5

Re: Throwing error in admin using ManyToManyField(Site)

2007-07-16 Thread Jeff
SOLVED Apparently, making a call to Site.objects.get_current() in your models.py throws an error when loading a module in Admin. Anyone have an idea why? On Jul 16, 12:14 pm, Jeff <[EMAIL PROTECTED]> wrote: > Another note: if I comment out 'sites = models.ManyToManyField(Site)' > from Team, it

Re: Throwing error in admin using ManyToManyField(Site)

2007-07-16 Thread Jeff
Another note: if I comment out 'sites = models.ManyToManyField(Site)' from Team, it loads fine. The same if I use it as a ForeignKey field. I'm using the latest stable, 0.96. On Jul 16, 11:01 am, Jeff <[EMAIL PROTECTED]> wrote: > I'm throwing an error when loading the admin edit page for an ins

Throwing error in admin using ManyToManyField(Site)

2007-07-16 Thread Jeff
I'm throwing an error when loading the admin edit page for an instance of a model. The exception itself is a TypeError, "Cannot resolve keyword 'team' into field." It is being raised at db.models.query line 938. I've included the full trace below. The model is Team, which has a ManyToMany rela

Re: special chars "error in Admin"

2007-03-29 Thread Atilla
Have you tried switching to UTF-8, if you need support for "funny" character sets ? You'll need to change your database and table encodings to UTF8 (with appropriate collation, if you need proper sorting) and the output content-type. On 28/03/07, enquest <[EMAIL PROTECTED]> wrote: > > In Django

Re: special chars "error in Admin"

2007-03-29 Thread enquest
In this case I can't use tiny mce there should be a other solution? Op donderdag 29-03-2007 om 14:03 uur [tijdzone +0530], schreef Kenneth Gonsalves: > > On 29-Mar-07, at 12:27 PM, enquest wrote: > > > Op woensdag 28-03-2007 om 13:18 uur [tijdzone +0200], schreef enquest: > >> In Django admin

Re: special chars "error in Admin"

2007-03-29 Thread Kenneth Gonsalves
On 29-Mar-07, at 12:27 PM, enquest wrote: > Op woensdag 28-03-2007 om 13:18 uur [tijdzone +0200], schreef enquest: >> In Django admin entering the following quote chars � � 'copy >> paste' in a >> textarea field gives this error... "Data truncated for column ..." >> >> How can this be? And wh

Re: special chars "error in Admin"

2007-03-28 Thread enquest
does nobody have an idee how this happens? when inserting these chars � � I get the error Data truncated for column Op woensdag 28-03-2007 om 13:18 uur [tijdzone +0200], schreef enquest: > In Django admin entering the following quote chars � � 'copy paste' in a > textarea field gives this error..

special chars "error in Admin"

2007-03-28 Thread enquest
In Django admin entering the following quote chars “ ” 'copy paste' in a textarea field gives this error... "Data truncated for column ..." How can this be? And what is the solution for this nasty problem. Because people wil copy and paste out of MS Word etc... The database is latin1 as stander

Re: Error in admin

2006-04-03 Thread Douglas Campos
0 errors found I think that my model used a python reserved name When I changed it, all went well I will make more tests then post the result here On 3/31/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: On Mar 31, 2006, at 11:22 AM, Douglas Campos wrote:> How can I get rid of this error?> Coul

Re: Error in admin

2006-03-31 Thread Jacob Kaplan-Moss
On Mar 31, 2006, at 11:22 AM, Douglas Campos wrote: > How can I get rid of this error? > Could not import django.contrib.admin.views.main. Error was: cannot > import name isleap > > > Does anyone has a light to share? Most likely one of your models is importing a name that doesn't exist. What is

Error in admin

2006-03-31 Thread Douglas Campos
How can I get rid of this error? Could not import django.contrib.admin.views.main. Error was: cannot import name isleap Does anyone has a light to share? Thanx Douglas --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: Error in admin site

2005-08-14 Thread Adrian Holovaty
Hey "Number one," I've fixed this in [494]. Update your Django code, and it should work now. Adrian On 8/14/05, Number one <[EMAIL PROTECTED]> wrote: > > I have been using Django for over a week now and each day I am using > the admin interface in the same way. By running: > > django-admin.p

Error in admin site

2005-08-14 Thread Number one
I have been using Django for over a week now and each day I am using the admin interface in the same way. By running: django-admin.py runserver --settings=MyDjango.settings.admin But now when I login it returns this error: There's been an error: Traceback (most recent call last): File "/usr