I want to make sure that the only people who can update and delete an object
are either superusers or the person that originally created them but I'm not
sure how to go about doing it. Can someone point me in the right direction?
I'm not sure which method(s) to override.
Thank you.
--
You rec
efault/#django.contrib.auth.decorators.user_passes_test)
>
> On Sat, Aug 26, 2023, 11:20 'Simon Connah' via Django users
> wrote:
>
> > I want to make sure that the only people who can update and delete an
> > object are either superusers or the person that originally created them but
> > I
Aug 26, 2023, 16:23 'Simon Connah' via Django users
> wrote:
>
> > Thank you! That is very helpful.
> >
> >
> > --- Original Message ---
> > On Saturday, August 26th, 2023 at 14:07, Ruby
> > wrote:
> >
> >
&g
way to go about doing that
is.
Can someone point me in the right direction please?
Thank you!
Simon.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an em
s file
>
> On Mon, Sep 18, 2023 at 5:28 PM 'Simon Connah' via Django users
> wrote:
>
> > Hi,
> >
> > I have an app which has a lot of views and URLs and keeping them in just
> > one file makes it really hard to manage because it is so long. I'd l
I can write a unit test which checks say the title on a page and compares it to
a string but that is really prone to breakage. What I want to do instead is to
check that the template that is returned by the URL is the same one that is
expected in the unit test. Is there an easy way to do this?
Sun, 24 Sept 2023 at 22:37, 'Simon Connah' via Django users
> wrote:
>
> > I can write a unit test which checks say the title on a page and compares
> > it to a string but that is really prone to breakage. What I want to do
> > instead is to check that the templat
a browser extension so I removed them all (apart from
Bitwarden) and completely cleared the history but none of that seems to have
fixed the issue.
I'm at a loss. Can someone suggest what might be going on here? As I said it
works fine in Chrome.
Simon.
--
You received this message because you
?
Thank you.
Simon.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web vi
then moved to /user/accounts/.
I have added the get_success_url to point to the correct URL using reverse but
even that doesn't work. Can someone help me out with this please?
Thank you.
Simon.
--
You received this message because you are subscribed to the Google Groups
"Django u
701 - 710 of 710 matches
Mail list logo