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
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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(
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
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
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
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
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
> >
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
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
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
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
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
>
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.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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)
>
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)
>
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"."
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
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
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
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
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
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
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
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
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
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
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
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..
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
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
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
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
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
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
67 matches
Mail list logo