n Deep
>> wrote:
>>
>>> Greetings of the day,
>>>
>>> I have use case where I want to show a custom landing page after a user
>>> logs into the admin site. One way to do it will be to override the
>>> index_template
>>> attribute of Admin
edirect("/custom-page/")
> return response
>
> On Wed, 23 Dec 2020 at 14:59, Gagan Deep wrote:
>
>> Greetings of the day,
>>
>> I have use case where I want to show a custom landing page after a user
>> logs into the admin site. One way to do it wi
-page/")
return response
On Wed, 23 Dec 2020 at 14:59, Gagan Deep
wrote:
> Greetings of the day,
>
> I have use case where I want to show a custom landing page after a user
> logs into the admin site. One way to do it will be to override the
> index_template
> att
Greetings of the day,
I have use case where I want to show a custom landing page after a user
logs into the admin site. One way to do it will be to override the
index_template
attribute of AdminSite
<https://docs.djangoproject.com/en/3.1/ref/contrib/ad
rstands, then you
> should be able to achieve your goal in the Widget for datetime fields and to
> preserve backwards-compatibility.
>
> Best regards,
>
> --
> Aymeric.
>
>
>
>> On 3 Oct 2018, at 23:04, Paul Tiplady qwil.com <http://qwil.com/&
atibility.
>
> Best regards,
>
> --
> Aymeric.
>
>
>
> On 3 Oct 2018, at 23:04, Paul Tiplady >
> wrote:
>
> Timezone handling in the Django admin is quite confusing for users when
> the users are in multiple timezones, because everything in the admin site
.
Best regards,
--
Aymeric.
> On 3 Oct 2018, at 23:04, Paul Tiplady wrote:
>
> Timezone handling in the Django admin is quite confusing for users when the
> users are in multiple timezones, because everything in the admin site
> operates in the server's time.
>
Timezone handling in the Django admin is quite confusing for users when the
users are in multiple timezones, because everything in the admin site
operates in the server's time.
Assuming USE_TZ=True, TIME_ZONE='UTC', USE_I18N, USE_L10N, when viewing a
datetime field, users s
Hi everyone.
I created small application which can execute python code in django project
environment.
Maybe someone will be interested and has any suggestions.
django-admin-shell:
https://github.com/djk2/django-admin-shell
--
You received this message because you are subscribed to the Google Gr
Just to add a quick update here.
Not much has happened on the branch since Djangocon - but we had some
valuable discussions. I'm hoping to get some time over the holidays to get
this back up to a more current form.
Russ and Karen gave some great feedback, and there is some straightforward
but
It's Preston Holme's app-loading branch - the Github branch Ramiro
referenced earlier in this thread.
https://github.com/ptone/django/tree/app-loading
Yours,
Russ Magee %-)
On Sat, Dec 8, 2012 at 12:02 PM, Pedro J. Aramburu
wrote:
> Which one is the branch? I can't seem to find it.
>
> On Frida
Which one is the branch? I can't seem to find it.
On Friday, December 7, 2012 10:41:16 PM UTC-3, Russell Keith-Magee wrote:
>
>
> On Sat, Dec 8, 2012 at 9:29 AM, Pedro J. Aramburu
>
> > wrote:
>
>> Ramiro, I've read the ticket but it seems stuck. I just want it to go
>> forward because I think
On Sat, Dec 8, 2012 at 9:29 AM, Pedro J. Aramburu
wrote:
> Ramiro, I've read the ticket but it seems stuck. I just want it to go
> forward because I think it's a major UI/UX issue for non-programmers the
> lack of "pretty" app names. But I want it to be done right with a proper
> app metadata hand
Ramiro, I've read the ticket but it seems stuck. I just want it to go
forward because I think it's a major UI/UX issue for non-programmers the
lack of "pretty" app names. But I want it to be done right with a proper
app metadata handling.
The thing is that there isn't any consensus about the wa
On Fri, Dec 7, 2012 at 11:18 AM, Aymeric Augustin
wrote:
> FYI the latest efforts on this topic are here:
> https://github.com/ptone/django/compare/app-loading
> http://code.djangoproject.com/ticket/3591
Exactly,
The issue described in this thread is already reported as ticket [1]10436.
The fix
using admin.py for
registering the app, I think it would only scope the information to the
admin site.
What I want to accomplish is some way to store app metadata for the use
where it's needed and be able to translate it to multiple languages. Maybe
on the future it exist a template tag so
FYI the latest efforts on this topic are here:
https://github.com/ptone/django/compare/app-loading
http://code.djangoproject.com/ticket/3591
--
Aymeric.
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to
g)
> I'm spanish speaking so my users are too. Writing code in spanish isn't
> pretty and with characters like "á" or "ñ" it's very difficult to name the
> apps a way that would make sense to show on the Admin site.
> That being said, I would like to propose a
ned on the Django users forums (
> https://groups.google.com/forum/?fromgroups=#!topic/django-users/ZUxZHi_-5ug)
> I'm spanish speaking so my users are too. Writing code in spanish isn't
> pretty and with characters like "á" or "ñ" it's very difficult to na
ame the
apps a way that would make sense to show on the Admin site.
That being said, I would like to propose a solution because all the tickets
and solutions I found won't work properly or are very outdated but I need
consent and guidance on how to approach it and with the internals of
del
> and hook it up into the admin site. Don't include any list_filter
> options. Then craft a valid query string on the change list page that
> queries a field on the related model. You will get an HTTP 500.
>
> For example:
>
> myapp/models.py:
>
> class MyModel
uot; wrote:
> Julien, I'm not describing an edge case. Django will return an HTTP
> 500 for ANY field lookup on a related model that is not in the
> list_filter option.
>
> To test, simply create a model that has a ForeignKey to another model
> and hook it up into the admin s
Julien, I'm not describing an edge case. Django will return an HTTP
500 for ANY field lookup on a related model that is not in the
list_filter option.
To test, simply create a model that has a ForeignKey to another model
and hook it up into the admin site. Don't include any list_filt
On Apr 10, 2012, at 4:34 AM, 3point2 wrote:
> The admin site allows the use of certain query strings to filter
> change list pages. The syntax follows queryset field lookups, for
> example http://mysite.com/admin/myapp/mymodel/?field__exact=test.
> Lookups that are not spec
I agree with this. HTTP 500 error should not occur due to users attempting
to subvert the system somehow. HTTP 500 errors should only be returned when
an unhandled exception occurs (which shouldn't happen).
Cheers.
Tai.
On Tuesday, 10 April 2012 21:34:07 UTC+10, 3point2 wrote:
>
>
The admin site allows the use of certain query strings to filter
change list pages. The syntax follows queryset field lookups, for
example http://mysite.com/admin/myapp/mymodel/?field__exact=test.
Lookups that are not specified on the ModelAdmin's list_filter option
raise a SuspiciousOper
Ask on django-users. This list is for the discussion of developing django
itself.
sent from my baz foone
-Original Message-
From: Radhikavk
Date: Wed, 21 Apr 2010 22:55:03
To:
Subject: How to set the sucess message after inserting values to db in
django admin site
How to set the
How to set the sucess message after inserting values to db in django admin
site
like message department added sucessfully
model:
class departmentForm(forms.ModelForm):
model=mdldepartments
def clean(self):
dept_msg = u"Department name allows only chara
On Sat, Mar 20, 2010 at 8:31 AM, Simon Meers wrote:
> I've just submitted #13163 [1] with a patch to display a link to the full
> change-form for inlines of models which are registered in the same admin
> site, similar to the existing "view on site" link for inline
I've just submitted #13163 [1] with a patch to display a link to the full
change-form for inlines of models which are registered in the same admin
site, similar to the existing "view on site" link for inlines. I have had
numerous projects where this would have been immensely usef
>
> > Got this after updating my django trunk working copy to r.11199, and
> > cannot access the admin site anymore:
>
> >http://dpaste.com/63968/
>
> > Any ideas of what it might be?
>
> If you are looking for help debugging a problem, please ask on
> Django-use
On Tue, Jul 7, 2009 at 11:46 AM, Diogo Baeder wrote:
>
> Hi, guys,
>
> Got this after updating my django trunk working copy to r.11199, and
> cannot access the admin site anymore:
>
> http://dpaste.com/63968/
>
> Any ideas of what it might be?
If you are looking f
Hi, guys,
Got this after updating my django trunk working copy to r.11199, and
cannot access the admin site anymore:
http://dpaste.com/63968/
Any ideas of what it might be?
Diogo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Ok, I will do it. thanks
On Dec 17, 8:31 pm, "Karen Tracey" wrote:
> Please take follow-ups to this question to django-users. This list is
> really not for usage questions.
>
> Karen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
Please take follow-ups to this question to django-users. This list is
really not for usage questions.
Karen
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send emai
gt;
> On Dec 17, 8:17 pm, "Jeremy Dunck" wrote:
> > On Wed, Dec 17, 2008 at 11:14 AM, samira wrote:
> >
> > > I active admin site for Django 1.0.2, it is correct on my local, but I
> > > see below error on server:
> >
> > > emplateSyntaxErro
I renamed my project, but no diffrent. it seems something is wrong in
admin templates.
On Dec 17, 8:17 pm, "Jeremy Dunck" wrote:
> On Wed, Dec 17, 2008 at 11:14 AM, samira wrote:
>
> > I active admin site for Django 1.0.2, it is correct on my local, but I
> &g
On Wed, Dec 17, 2008 at 11:14 AM, samira wrote:
>
> I active admin site for Django 1.0.2, it is correct on my local, but I
> see below error on server:
>
> emplateSyntaxError at /site/admin/
>
> Caught an exception while rendering: Tried activateAccount in module
> site.s
I active admin site for Django 1.0.2, it is correct on my local, but I
see below error on server:
emplateSyntaxError at /site/admin/
Caught an exception while rendering: Tried activateAccount in module
site.site_app.views. Error was: 'module' object has no attribute
'activateAc
On Fri, 2008-11-21 at 11:33 -0800, Bob Thomas wrote:
> See tickets #2203 and #9366. They're two opposite sides of an issue
> that needs to be reconciled somehow, and I figured this list was the
> best way to fight it out.
>
> #2203 summary - Date/time formats in the admin interface use the
> {DA
See tickets #2203 and #9366. They're two opposite sides of an issue
that needs to be reconciled somehow, and I figured this list was the
best way to fight it out.
#2203 summary - Date/time formats in the admin interface use the
{DATE,TIME,DATETIME}_FORMAT string from translation files, and fall
b
count': 'select count(*) from comments
> where comments.article_id = article.id'}
>)
>
> class Article(models.Model):
># Fields must be here
>objects = ArticleManager() # Overriding the `models.Manager`
>
>
> I wanted that extra
ents_count': 'select count(*) from comments
where comments.article_id = article.id'}
)
class Article(models.Model):
# Fields must be here
objects = ArticleManager() # Overriding the `models.Manager`
I wanted that extra field "comments_count" have sort and fil
On 1 Aug 2006, at 13:23, Michael van der Westhuizen wrote:
After updating SVN this morning I get the error below. Reverting to
revision 3506 resolves the problem.
The error occurs with the default site (no apps installed) - just
start a project, enable admin, syncdb, runserver, log in to admin,
44 matches
Mail list logo