[image: so2.JPG]
[image: so.JPG]
--
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
[image: ex2.JPG]
[image: ex.JPG]
Payment option not diasplay issuse something paytm file in form tag ..
--
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
This is an insanely old thread, but I couldn't find any updates so was
curious if anyone had advice on implementing select_related with a
RawQuerySet? It seems prefetch_related() works just fine.
On Friday, March 2, 2012 at 11:22:52 AM UTC-8, akaariai wrote:
>
> On Friday, March 2, 2012 7:24:00
https://youtu.be/5hDZ328uKk0
Here is Developers community guys for django errors, i found many solutions
videos here in this channel you guys can even search for solutions there.
It helped me a lot and many of my Developers friend same from Django channel
Link for YouTube is :-
https://www.yout
I am making a project for an online payment e-commerce
I think I got everything right as am following a Tutorial
Keep getting this Error: Not Authenticated Error I used the testing CC
Numbers for testing purposes
My question is the following codes correct and I'm getting Not
Authenticated Er
Hi Sagar,
On 27/04/2020 14.25, sagar ninave wrote:
i am getting this error
It's hard to guess since you don't show where your User class comes
from, but it doesn't seem like its inheriting from the Django model class.
The error message is quite clear. Look at your User model.
Btw. just a hi
Hi
I have not worked with visualising script progress before; you probably
need to use Celery on the backend - have a look at this blog post:
https://buildwithdjango.com/blog/post/celery-progress-bars/
Writing the actual ingestion scripts is very much standard work for any
programmer - especial
Hello All,
DRF failing to pull the data from User model
I have two Serializers for Two models(User model and UserProfile).
models.py--class UserProfile(models.Model):
Photo = models.FileField(upload_to='documents/%Y/%m/%d/', null=True)
uploaded_at = models.DateTimeField(auto_now_ad
I think you are better off creating a proper API for your Django project,
using something like DRF.
The Django shell is meant for direct use by an administrator working on the
server.
On Sunday, 26 April 2020 16:05:02 UTC+2, Michael Karikari wrote:
>
> So I find myself in a pickle.
> I'm using
i got answer
i was doing this:
from .models import User
user = User.objects.filter(pk=user_id)
instead i do this:
from .models import MyUser
user = MyUser.objects.filter(pk=user_id)
error gone
On Mon, Apr 27, 2020 at 6:57 AM Kasper Laudrup
wrote:
> Hi Sagar,
>
> On 27/04/2020 14.25, saga
Hi All,
I have a situation where currently, I am showing data using views.py
function on the template and the template shows data on the page.
The html page also has search dropdowns and those dropdowns are getting
data from the landing view function itself.
Note - This landing function is the o
from django import forms
from django.core.exceptions import ValidationError
class SearchProduct(forms.Form):
text=forms.CharField(label='Search ')
date=forms.DateField(required=False)
t = SearchProduct()
print(t.date)
Error:
AttributeError: 'SearchProduct' object has no attribute 'date'
I think issue is how you are trying to access the attribute
This is a form and must be accessed through a post call.
Can you share your html form???
Sent from my iPhone
> On 27 Apr 2020, at 10:29, DimGo wrote:
>
>
> from django import forms
> from django.core.exceptions import ValidationErro
In addition, you must define your model in models.py
And to get this attributes on your views.py from a post request, you could use
like {{ form.attribute }}
Regards
Sent from my iPhone
> On 27 Apr 2020, at 10:29, DimGo wrote:
>
>
> Why is this this strange error?
> --
> You received thi
It's not strange. You can't access to an attribute of a form class
directly. Remember how do you define the form in a view. You're passing
arguments such as *data=request.POST*. You're trying to access an undefined
attribute. Because It's a form class and needs input.
Try to print *t.__dict__ *yo
Good evening everyone,
I have a little doubt, I am new in Django but I attended the basic courses.
Now I'm trying to display a
machine learning script in django application on my web interface. Is there
any way to do that with
django. In my python script a video with keypoint and 3D reconstr
I couldn't open the screenshot . But to work with the django forms you need to
perform below tasks.
1) create model of your choice in models.py.2). Python manage.py
makemigrations3) python manage py migrate.4 create a python file called
forms.py inside your app.5) import your models there ( fro
Good evening,
I am a new developer in Django but I have the basic knowledge.
I wanted to know if someone has experience with django and machine learning.
I have a script in python that shows a video with keypoints and 3D
reconstruction.
Is it possible with django framework to execute and disp
Do you have a "date" field in your models.py.? Please share models.py, and
views.py as well
Sent from Yahoo Mail on Android
On Mon, 27 Apr 2020 at 22:44, Phako Perez<13.phak...@gmail.com> wrote: I
think issue is how you are trying to access the attributeThis is a form and
must be accesse
Look at brython.infoMight be interesting.Mike
Original message From: Lansana Sangare
Date: 28/4/20 03:52 (GMT+10:00) To: Django users
Subject: Django with Python Machine leaning
Good evening everyone,I have a little doubt, I am new in Django but I attended
the basic courses
How to retrieve data from database and display on web page ,example i want
to display the details of the user on a web page which he has entered in a
form which is stored in database.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscri
firstly abstractly speaking - each time i create an order via Model A i
want to auto-populate Model B with the data from Model-A and/or Model-C.
now straight to the point - i want both, the customer's name & the product
(which they are purchasing) to automatically appear as a concatenated
strin
How to make date time as per my region?
--
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
I'm getting an error when I try to runserver. Here is my code in manage.py:
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'database',
'HOST': 'localhost',
'USER': 'user',
'PASSWORD': 'password',
'OPTIONS': {'O
Hi There,
I have also implemented this in my project. The code in my settings.py is
below. You could also try the same.
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'MyDbName',
'USER': 'user',
'PASSWORD': 'password',
'HOST': 'DbHost
Lets
On Apr 27, 2020 10:31 PM, "Gurmeet Kaur"
wrote:
Hi There,
I have also implemented this in my project. The code in my settings.py is
below. You could also try the same.
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'MyDbName',
'USER': 'user'
You can create a function based view or class based view (views.py) where
you can have our own queryset to retrieve the data from database.
And pass the same into the html.
Thanks & Regards,
-
Mayank Tripathi
"Do what you can, with what you have, where you are -by Theodore Roo
Dear friends as per django project app mysite/polls
After creationnof the database 1st entry was " whats new? ". When i login to
the admin site than only question object is available. What can i do.
--
You received this message because you are subscribed to the Google Groups
"Django users" gr
You can use generic class based views and an html template.
Regards
Chuck G. Madamombe
NAM: +264 81 842 1284
RSA: +27 78 208 7034
Twitter: @chuckygari
Skype: chuckygari
Facebook: Chucky Mada Madamombe
LinkedIn: Chucknorris Garikayi Madamombe
On Tue, 28 Apr 2020, 02:11 fahad rasool wrote:
> How
Hello Fahad
If you didn’t extend user model your view.py it will be like
@login_required
def userdetails(request):
user_details = User.objects.get(username=request.user)
context {
"user_details": user_details,
}
return render(request, 'accounts/profile.html', contex
30 matches
Mail list logo