Not a direct answer, but its much easier to use the in-built options to
extend admin actions:
https://docs.djangoproject.com/en/1.10/ref/contrib/admin/actions/
Otherwise you will probably need to extend/override the admin template to
add the code&link for your button; e.g. see:
http://stackoverf
Hi Eliezer,
The trick is to add a ModelAdmin for Exercise.
The obvious consequence of this is that you'll get a "top level" menu
option to add exercises. However, a side effect is that everywhere that you
have a model with a foreign key to exercise (like in your Segment inline),
you'll get a litt
I have found the source of the problem. When running the built in dev
server, I used the command "python manage.py testserver". This command
seems to create a new database, with no user records, and run the
server using that. This means that loging in is impossible as there
are no users to log in a
On Mon, Feb 8, 2010 at 10:42 PM, Andy Cottell wrote:
>> > > I am new to django, and have started building a project in it. I have
>> > > tried to use theadmininterface with the project am having issues
>> > > logging in. I have setup the interface as instruced in the django
>> > > tutorial part 2,
Bump!
On Feb 2, 1:48 am, Andy Cottell wrote:
> I have done this, and created an superuser when prompted. However the
> login still fails with the same error.
>
> Here is the urls.py:
>
> from django.conf.urls.defaults import *
>
> # Uncomment the next two lines to enable theadmin:
> from django.c
I have done this, and created an superuser when prompted. However the
login still fails with the same error.
Here is the urls.py:
from django.conf.urls.defaults import *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patte
make sure you do syncdb to create database tables before you can
actually use the admin interface for the first time.
try
python ./manage.py syncdb
On Feb 1, 4:41 pm, Andy Cottell wrote:
> I am new to django, and have started building a project in it. I have
> tried to use the admin interface
Sounds like something you'd have to do with javascript by extending
the admin interface's templates.
Any other default values are best done by settings up signals for your
User class.
On a more general, yet important note, I would strongly advice against
making your own User model unless you reall
On Nov 13, 1:40 pm, Rick Caudill wrote:
> I do have non-ascii data in my database. That is allowed, right???
Yeah, in general. What appears to be happening here (and Karen is
right, we need more to go on), but data that is being loaded into a
DecimalField contains non-ascii data.
Matt.
--
You
On Thu, Nov 12, 2009 at 10:40 PM, Rick Caudill wrote:
> I do have non-ascii data in my database. That is allowed, right???
>
>
Certainly. Perhaps if you gave a few more clues someone could help.
What are you doing in the admin interface when the exception is raised?
If the activity is obvious
I do have non-ascii data in my database. That is allowed, right???
On Thu, Nov 12, 2009 at 6:55 PM, Matt Schinckel wrote:
> On Nov 13, 7:06 am, Rick Caudill wrote:
> > Hi Everyone,
> >
> > This is my first time posting but I have been using Django for about a
> > year now and love it. I am h
On Nov 13, 7:06 am, Rick Caudill wrote:
> Hi Everyone,
>
> This is my first time posting but I have been using Django for about a
> year now and love it. I am having one problem that I can't solve
> though and it is taking too long so I thought I would ask and see if
> someone can help me. So I
Thanks for the link. This looks pretty interesting.
Unfortunately the service I have to access isn't RESTful, so it
doesn't look like I can make of roa easily.
-markus
On Jun 24, 1:33 pm, nautilebleu wrote:
> django-roa seems to be the way to go if your service is RESTful
>
> http://bitbucket.o
django-roa seems to be the way to go if your service is RESTful
http://bitbucket.org/david/django-roa/
Goulwen
On Jun 23, 6:39 pm, Kusako wrote:
> Hi-
>
> I need to access an XMLRPC web service from the Django admin
> interface. Basically what I need is some create forms that will send
> data
14 matches
Mail list logo