On Thu, Mar 5, 2015 at 6:49 PM, Aurélio Moreira
wrote:
> Hello guys , I 'm building a system in Django and is my first contact with
> the language , enjoyed the admin, but my tables have many, many fields even
> , I would like to know the following : Are you like me to change the output
> of forms
Hello guys , I 'm building a system in Django and is my first contact with the
language , enjoyed the admin, but my tables have many, many fields even , I
would like to know the following : Are you like me to change the output of
forms ? I would like to control the layout of the form of each m
> > I'm having some problems with the New Forms Admin that are giving me
> > the error message "Youdon'thavepermissiontoeditanything." when
> > I log into the Admin. I also lose the admin-media so that the page
> > displays on a plain white b
Hi,
I'm encountering exactly the same problem as yours. Did you finally
find the solutions?
Thanks,
Dave
On Feb 17, 1:25 pm, Tipan wrote:
> I'm having some problems with the New Forms Admin that are giving me
> the error message " You don't have permission to edit an
On Wed, Feb 18, 2009 at 2:17 AM, Rajesh Dhawan wrote:
>
>
>>
>> # Admin:
>> ('^hiveadmin/(.*)', admin.site.root),
>
>
> That's no longer the right way to hook the admin into your URL conf.
> See here:
>
> http://docs.djangoproject.com/en/dev//ref/contrib/admin/#hooking-adminsite-instance
> > # Admin:
> > ('^hiveadmin/(.*)', admin.site.root),
>
> That's no longer the right way to hook the admin into your URL conf.
> See here:
>
> http://docs.djangoproject.com/en/dev//ref/contrib/admin/#hooking-admi...
>
> -RD
Hi Rajesh,
I've been through the documentation you suggested a
>
> # Admin:
> ('^hiveadmin/(.*)', admin.site.root),
That's no longer the right way to hook the admin into your URL conf.
See here:
http://docs.djangoproject.com/en/dev//ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf
-RD
--~--~-~--~~~---~
I'm having some problems with the New Forms Admin that are giving me
the error message " You don't have permission to edit anything." when
I log into the Admin. I also lose the admin-media so that the page
displays on a plain white background.
I'm using the latest djan
On Sat, Oct 25, 2008 at 12:31 AM, astray <[EMAIL PROTECTED]> wrote:
>
> [snip config details]
% models.py %
>
> from django.db import models
>
> class Publisher(models.Model):
>name = models.CharField(max_length=30)
>address = models.CharField(max_length=50)
>city = models
% settings.py %
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
)
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
meppum wrote:
> The new release of django allows developers to perform custom
> validation before the save of an object using self.clean_data just
> like in new forms. Is there any way to reuse the logic that we've
> already created for our public facing site in the admin site?
Yes. You can use
On Aug 26, 2008, at 2:13 PM, Malcolm Tredinnick wrote:
> On Tue, 2008-08-26 at 10:57 -0700, diggs wrote:
>> I'm just starting to port my app over to use nfa and the first thing
>> that I'm seeing is that derived models are showing up twice in the
>> admin. In my case I have a base VideoStory clas
On Tue, 2008-08-26 at 10:57 -0700, diggs wrote:
> I'm just starting to port my app over to use nfa and the first thing
> that I'm seeing is that derived models are showing up twice in the
> admin. In my case I have a base VideoStory class and
> TwoPersonVideoStory class that derives from VideoSto
I'm just starting to port my app over to use nfa and the first thing
that I'm seeing is that derived models are showing up twice in the
admin. In my case I have a base VideoStory class and
TwoPersonVideoStory class that derives from VideoStory using multi-
table inheritance. When I create a new Tw
On Fri, Jul 18, 2008 at 7:41 PM, cschand <[EMAIL PROTECTED]> wrote:
>
> Hi Russ
>The problem is not solved in the ticket
No - that's because it's a bug report. When the bug is fixed, the
ticket will be closed.
Yours,
Russ Magee %-)
--~--~-~--~~~---~--~~
You r
Hi Russ
The problem is not solved in the ticket
Satheesh
On Jul 18, 4:13 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Fri, Jul 18, 2008 at 7:00 PM, cschand <[EMAIL PROTECTED]> wrote:
>
> > When I tried model inheritance in new-form
't be long... ;-)
xing fingers
On Fri, Jul 18, 2008 at 1:13 PM, Russell Keith-Magee <[EMAIL PROTECTED]>
wrote:
>
> On Fri, Jul 18, 2008 at 7:00 PM, cschand <[EMAIL PROTECTED]> wrote:
> >
> > When I tried model inheritance in new-forms admin, I faced some
> >
On Fri, Jul 18, 2008 at 7:00 PM, cschand <[EMAIL PROTECTED]> wrote:
>
> When I tried model inheritance in new-forms admin, I faced some
> problems
...
> What is wrong with me?
You haven't checked the tickets: http://code.djangoproject.com/ticket/
When I tried model inheritance in new-forms admin, I faced some
problems
The below is the code i tried
class Reporter(models.Model):
first_name = models.CharField(max_length=30)
last_name = models.CharField(max_length=30)
email = models.EmailField()
def __str__(self
This is what I'm talking about
http://www.djangoproject.com/documentation/model-api/#unique-for-date
Searching internets can not find any answer.
Thanks,
--
Norman J. Harman Jr.
Senior Web Specialist, Austin American-Statesman
___
I Just had a problem with this and it came down to the PIL component
on my server not having jpeg support, maybe try installing libjpeg and
rebuilding and installing PIL.
On Feb 15, 6:59 am, Michael Newman <[EMAIL PROTECTED]> wrote:
> As I continue to test this, it appears that inlineimagefield
As I continue to test this, it appears that inline image fields don't
work at all in newforms Admin. Yikes!!! Can someone confirm?
My code:
from django.db import models
class TestObject(models.Model):
somefield = models.CharField(max_length=100)
class TestObjectImageInline(models.Model):
I get an 'Upload a valid image. The file you uploaded was either not
an image or a corrupted image.' When I try to save a model in the
admin. I had this issue in the oldforms admin as well. I was passed to
this article:
http://scottbarnham.com/blog/2007/08/22/edit-inline-with-imagefield-or-filefi
On 3/8/07, enquest <[EMAIL PROTECTED]> wrote:
> What effect wil the new form lib have on the admin. I read that its
> being remade. But will the admin app bread an will you need to change
> your code for the new one?
Here's the writeup:
http://code.djangoproject.com/wiki/NewformsAdminBranch
Adr
What effect wil the new form lib have on the admin. I read that its
being remade. But will the admin app bread an will you need to change
your code for the new one?
Enquest
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
25 matches
Mail list logo