Thanks, I'll check them out.
On Thu, 29 Oct, 2020, 10:08 AM David Nugent, wrote:
> You question isn't very specific, however I'll try to add a couple of
> touch-points that may provide some direction.
>
> Django manage.py can provide direct access to your models.
>
> python manage.py shell
>
>
You question isn't very specific, however I'll try to add a couple of
touch-points that may provide some direction.
Django manage.py can provide direct access to your models.
python manage.py shell
is your friend, for manually manipulating data, including the database via the
Django ORM.
This is known as a "combo box", somewhat different to a select.
Check this google search: html5 combo box
Hello Sir,
You need to set the LOGIN_REDIRECT_URL in your settings.py file.
On Mon, Oct 26, 2020, 8:47 PM Andrew Stringfield
wrote:
> Hello all,
>
> I am trying to use Patreon's API Version 2 with Django 3.1. I read:
> https://docs.patreon.com/#third-party-libraries and found that Patreon
Here's the django-allauth callback URL for Patreon:
https://django-allauth.readthedocs.io/en/latest/providers.html#patreon
That "callback URL" needs to be configured in the Patreon dev
portal. Make sure you change the URL to match your Django project's
domain/port/etc.
On Wed, Oct 28, 2020 at
Hi Realdox,
Please share the code also. The explanation of the problem isnt enough to
help u.
thanks,
El mié., 28 oct. 2020 a las 20:15, Realdox Opeyemi (<
realdox2yk47...@gmail.com>) escribió:
> My template work fine with dummy data, but my data disappear when I try
> render data from my
Typically oauth requires a callback URL[1] configured at the
provider(Patreon in this case). Maybe double check that? Perhaps that's
what Patreon is referring to("redirect URL") in the error below?
[1] https://django-allauth.readthedocs.io/en/latest/providers.html#providers
On Wed, Oct 28, 2020
My template work fine with dummy data, but my data disappear when I try
render data from my model
--
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
Thanks, that was very helpful. I had another pointer on this and
found out that the easiest way to do this is just to change the
```file``` line in the class to:
```
file = ImageField(_('image'), upload_to='images/items/%Y/%m/%d/%
H/%M/%S')
There are a few things that I do not
You have go through the django docs,
In django request.method.POST is used to inser data
And Model.objecs.all() this is the way how you fetch data,
You need to study docs
On Thu 29 Oct, 2020, 00:13 Kiran Bangde, wrote:
> Hi everyone,
>
> Iam stuck at a point ...I want to fetch a data from a
Hi everyone,
Iam stuck at a point ...I want to fetch a data from a database , where data
should be insert manually , plz help me how to do that how to fire a
queries in DB and how to use primary key and foreign key over here.
Please help me ,Iam new to Django .
Thanks in advance
--
You
I would not be shocked.
On Wednesday, October 28, 2020 at 9:55:15 AM UTC-4 Ryan Nowakowski wrote:
> The patreon error you're seeing might be a different redirect URL than the
> login redirect URL. i.e. these may be two different problems.
>
>
>
>
> On October 28, 2020 6:55:48 AM CDT, Andrew
The patreon error you're seeing might be a different redirect URL than the
login redirect URL. i.e. these may be two different problems.
On October 28, 2020 6:55:48 AM CDT, Andrew Stringfield
wrote:
>I almost forgot. I have checked my settings in Django and Patreon and
>the
>URL redirect
Hi guys, How r u doing?
I have a field called articulos that is foreign key, in a form is defined
as follow:
*forms.py*
from django import forms
#from django.contrib.auth.models import User
from .models import Stockmov
class StockmovForm(forms.ModelForm):
class Meta:
model =
I almost forgot. I have checked my settings in Django and Patreon and the
URL redirect matches for all that I can see. I have an idea to try and use
the testing framework to see what values I am passing to Patreon.
On Wednesday, October 28, 2020 at 7:53:42 AM UTC-4 Andrew Stringfield wrote:
Sorry for the late reply. I found a youtube video
of: https://www.youtube.com/watch?v=-TUEM2NCuVE and I followed the
instructions as best as I could. I created a button for a Patreon login
and I get the below results:
In my URL bar I get:
thanks
On Wednesday, October 28, 2020 at 5:07:13 PM UTC+5:30
andrea...@hypercode.se wrote:
> for i in grocery:
> if i.store_type=="Alcohol" or "Both":(1)
> This line checks if i.store_type is "Alcohol" or if the string "Both" is
> Truthy - which it is because it is not '' or None - this if
Hi,
This is per default in django. The way the logout function works is that it
completely clears the session (which is good practice, because you don't
want to see anything there after a logout).
Regards,
Andréas
Den tis 27 okt. 2020 kl 14:28 skrev kawsar sarker :
> Hi,
> Nice to be with
for i in grocery:
if i.store_type=="Alcohol" or "Both":(1)
This line checks if i.store_type is "Alcohol" or if the string "Both" is
Truthy - which it is because it is not '' or None - this if statement will
always be True.
if i.store_type=="Alcohol" or i.store_type=="Both":(2)
This line checks
for i in grocery:
if i.store_type=="Alcohol" or "Both":(1)
if i.store_type=="Alcohol" or i.store_type=="Both":(2)
can anyone tell me the diffrence between two statements,I am getting two
diffrent results
--
You received this message because you are subscribed to the Google Groups
"Django
Hi,
On Oct/27/2020, Clive Bruton wrote:
> I have a function that uses the current date to set up a file path for
> uploaded images:
>
>
>
> def upload_path():
[...]
> class Image(models.Model):
> item = models.ForeignKey(Item, on_delete=models.CASCADE)
>
21 matches
Mail list logo