Just login to your server, activate the environment and run createsuperuser
to create new superuser account
On Thu, Aug 3, 2023, 14:56 Safaet Jaman wrote:
> I've delete my user admin. I've another two user but i can't login django
> admin pannel to use these. [image: Screenshot from 2023-08-03
>
Just facing the same problem with you bro, and i ended up with proxy model
and using django-treebeard for the data hierarchy...
On Thu, 11 Mar 2021 at 17.47 Kunal Solanke
wrote:
> Btw parts should be a m2m field ig.
>
> On Thu, Mar 11, 2021, 16:14 Kunal Solanke
> wrote:
>
>> That's too hard of
you can use django async for realtime data
On Wed, Jan 6, 2021 at 3:39 AM degnon...@gmail.com
wrote:
> Hello,
>
> I am building a very simple website in which the main page allows users to
> import their contacts via csv or excel files to a postgres database.
>
> I have a page that displays whet
Hey peter, sorry am i late to join your team? I'd love to join too..
On Fri, Dec 18, 2020, 3:41 PM Peter Kirieny wrote:
> Okay guys, I've got your feedback
> We'll make a team, stay tuned
>
> On Fri, Dec 18, 2020, 01:19 Onlyo wrote:
>
>> still a bit of a junior, but I'm also interested
>>
>> On
w but I need to improve it. So l asked for help.
>
> On Sun, Jun 7, 2020, 6:40 AM wongX Ndeso wrote:
>
>> If you use django to perform some delete action, or others like create or
>> update, please make sure you have csrf_token in your html form file, and
>> then you sh
If you use django to perform some delete action, or others like create or
update, please make sure you have csrf_token in your html form file, and
then you should filter if the form is valid or not, then you can process
the data that send from delete page.
On Sat, Jun 6, 2020, 3:48 AM Nader Elsis
Try django generic edit view (CBV).
You can use DeleteView Class to perform what you need to do..
On Sat, Jun 6, 2020, 3:48 AM Nader Elsisi wrote:
> I have just posted
>
>
> https://stackoverflow.com/questions/62218886/django-tables-2-delete-column-and-delete-item-for-inherited-tables
>
>
> and
Try change this,
If self.kwargs[field] is not None:
With
if self.kwargs[field]: <--- this will return True it the field is not empty
This is the better way to filter, if you want filter the fields is empty
then just add not like this example
if not self.kwargs[field]:
On Sun, Jun 7, 2020, 1:06 AM
Well, can you send the error message? It's important before i answer your
question
On Sat, Jun 6, 2020, 11:48 PM Ganesh Prajapat wrote:
> hello,
> I have a problem in my project.
> basically scenario is i have 3 classes in
> models.py(Subject,Exam,Registration).
> Subject class have 2 field(subj
You can use django form wizard if you want, much easier than you should
manipulate the onclick event using javascript or something similar with
that..
Maybe you should remodel your form or the flow.. Hope this help
On Sun, Jun 7, 2020, 1:34 PM Sai wrote:
> Hi guys,
> I am working on a* Django p
10 matches
Mail list logo