What do you mean by click of a button? Are you using Ajax or a frontend
framework?
You most likely aren't handling the post request on the view that's
supposed to add the anime to the user's list
On Tue, Mar 1, 2022, 10:20 AM raf sandwich Hi Antonis,
>
> Yes I saw that stackoverflow post also,
This is a micro service issue, you should use webhooks to notify your main
Django app with the one you're building, that way you'll know when
something happens and can handle that event.
On Sun, Mar 6, 2022, 4:24 PM 炉边史话 great job!
>
> 在2022年1月15日星期六 UTC+8 00:56:12 写道:
>
>>
>> A official discord
If I understand correctly you're trying to give the user the power to
create tables from the front end by saving his params to the database and
using that data to create a table in another or the same database, I tried
doing the same with forms here's a tweak, hope it's what you're looking for
or
A simple tweak I would use is to find the elements id using DEV tools and
set the
element{
overflow: auto
} using css
On Wed, Dec 8, 2021, 1:10 PM Eugene TUYIZERE
wrote:
> Dear Team,
>
> I am using jquery fancyTable in the django app but I searched everywhere
> and I did not find how to allow t
The code is really simple to implement, but I don't think the explanation
was intuitive enough.
You would need to create a signal like so
#hooks.py
from django.dispatch import Signal
success_signal = Signal(providing_args=[])
#views.py
from .hooks import success_signal
... # after payment
succ
Check out the django-hosts package, the docs are pretty explanatory and
easy to use.
You'd also want to add '.yourdomain' to the allowed_hosts list and it
doesn't work with '127.0.0.1' as its harder for if to figure out the
sub-domain, if you want to use it on your development server use localhost,
If what you're trying to do is have two types of user accounts, then you'd
have to create a base user model and have personal and business inherit
from it - and it being a subclass of AbstractBaseUser
class BaseAccount(AbstractBaseUser):
…
# all public fields
class PersonalAccount(BaseAcc
For someone new to programming, that's a bit complicated for you don't you
think?
Your problem lies in your "with" block
with open('CONFIG.csv') as f:
reader = csv.reader(f)
return [col for row in reader for col in row]
1. You can only return once and then the function is exited, even
If you want to show the items relative to the currently logged in user, try
adding this option => limit_choices_to={'user' : 'user'}, to your items
field in models.py
On Tuesday, 1 June 2021, Aritra Ray wrote:
> Right, thank you so much.
>
> Regards.
>
> On Tue, 1 Jun, 2021, 8:27 pm oba stephe
if you already have a table with some rows in it, writing a random function
would work just fine.
# as an example
from random import randint
def select_random_user():
all_users = User.objects.all()
selected = list(all_users)[randint(0, all_users.count())]
return selected
On Tue, 20 Ap
Hi guys I have a question just one, but it houses a myriad of smaller
questions for clarity.
So I'm building a django app that creates virtual organizations, I'm
planning on hosting with digitalocean for reasons. My app just creates a
droplet and host a site ( already done that)
Now I want my use
Hey guys,
So I have this django project that works similar to shopify(only on a
smaller scale) that allows local businesses to open and manage their online
stores - made possible by the django app.
I decided it would be a good idea to let the store owners (or merchants)
send emails from their admin
Still need help? Email me @ 7thog...@gmail.com
On 13 Jan 2021 3:03 pm, "yingi keme" wrote:
> Send a mail to yingik...@gmail.com. From your name I know you are Ijaw. I
> am too.
>
> I can address all or most of your issues.
>
>
> Original Message
> Subject: REQUEST FOR GUIDES IN
Hey, guys any ideas on how to get about this?
Django CMS in Django
https://stackoverflow.com/q/65645573/12957767?sem=2
--
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 ema
You can try using the javascript window.locqtion.href('redirect-url')
On 7 Jan 2021 10:07 pm, "pankaj palmate"
wrote:
> can you elaborate it more means are you taking about Response?
>
>
> On Thursday, January 7, 2021 at 10:48:33 PM UTC+5:30 amanmo...@gmail.com
> wrote:
>
>> Hello Django Lover,
I am interested. I'm Joel from Nigeria
On 20 Dec 2020 12:53 am, "Oyedele Yusuff" wrote:
> I'm interested
>
> On Thu, 17 Dec 2020 12:42 pm Peter Kirieny,
> wrote:
>
>> Hello team
>> I have a project in django
>> (developing an ecommerce website with some innovations)
>>
>> Using pycharm and pyth
16 matches
Mail list logo