In DRF, only AllowAny permission is working.
My Views.py
class generate_course(APIView) :
.
.
.
permission_classes = (IsAuthenticated,)
authentication_classes = (JSONWebTokenAuthentication,)
def post ( self, request) :
..
> tell me your whatsapp number if possible
>
>
or anyother communication
--
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...@googlegrou
Thank you !!
On Tue 3 Sep, 2019, 1:52 AM Nitin Kumar, wrote:
> form3 at line 16 is no longer model form3 you imported in line 3
> it is a function you defined at line 8.
>
> So form3 does not take **kwargs.
> at line 16 you are passing keyword arguments to the form3 function defined
> in lin
Coming dear i am runa +8801737940981 my fuck number
On Tue, 3 Sep 2019, 2:10 a.m. niranjan shukla,
wrote:
> Please help !!
>
> As I am building a social site and I want to add a chat app so that the
> user can chat with his friend which he follows.
>
> So anyone knows chat app tutorial then tel
R u fuck me brothe. My husband is daed
--
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 th
form3 at line 16 is no longer model form3 you imported in line 3
it is a function you defined at line 8.
So form3 does not take **kwargs.
at line 16 you are passing keyword arguments to the form3 function defined
in line 8.
Use camel-case to define models.
On Tue, Sep 3, 2019 at 12:31 AM nitin
Please help !!
As I am building a social site and I want to add a chat app so that the
user can chat with his friend which he follows.
So anyone knows chat app tutorial then tell me.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubs
Code pls
On Mon, 2 Sep, 2019, 9:20 PM nitin kumar, wrote:
> On submitting data using text field of html getting error of
> form2() got an unexpected keyword argument 'aname'
> Where
> Form2()- class defined in model
> aname- attribute of class
> In other way form2 is table with column Anne
> Db
On submitting data using text field of html getting error of
form2() got an unexpected keyword argument 'aname'
Where
Form2()- class defined in model
aname- attribute of class
In other way form2 is table with column Anne
Db - postgresql
--
You received this message because you are subscribed to
Hi,
Uninstalled django-river with pip3 then installed django-river into my venv, as
well as added it to installed apps in settings.
I’m still having the same issue, with no module named river found, please can
you advise?
n.b. please see pip freeze.
altgraph==0.10.1
bdist-mpkg==0.4.4
bonjour-
Hi Rax,
This was an html issue for me in the end, in how the was table row and table
data were coded.
I resolved by coding in this way, and then data was listed.
{{ item.name }}
{{ item.surname }}
Thank you for offering to help.
Best,
K
On 2 Sep
😂
On Mon, 2 Sep, 2019, 7:09 PM Muhammed Bilal, wrote:
> class Add(models.Model):
>budget = models.IntegerField()
>Expense = models.IntegerField()
>
> Now I would like to do a complete calculation for example budget -
> Expense and budget + expense. Kindly hel me.
>
> --
> You received
class Add(models.Model):
budget = models.IntegerField()
Expense = models.IntegerField()
Now I would like to do a complete calculation for example budget -
Expense and budget + expense. Kindly hel me.
--
You received this message because you are subscribed to the Google Groups
"Djang
I have in mysite/urls.py:
from django.contrib import admin
from django.urls import include, path
from django.contrib.auth import views as auth_views
from django.conf import settings
from .views import *
urlpatterns = [
path('admin/', admin.site.urls, name="admin"),
path("places/", include
You're working on windows:
How did you process to activate your venv?( cd venv, cd Scripts, activate)
So, You have to come back after venv activated? (cd.., cd ..)
Now python manage.py runserver
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
Hi,
Can I see how you structured your table?
Best wishes,
Rax
On Sat, Aug 17, 2019 at 1:15 AM Kean wrote:
> Hi,
>
> Ive created a table which returns all my data in my.html template.
>
> However, the problem is the second record tags onto the end of the first,
> instead of wrapping,
>
> i.e/
>
Dear All,
I have Windows Server 2016 , IIS 10 and the Database is MS SQL 2016.
I am not sure about the compatibility and version of Django to use on
Windows Server 2016 with IIS 10 and I want the Django to be integrated
seamlessly with MS SQL server 2016 so any module or library suggestion
Have you already defined a view in django rest framework?
El sáb., 31 ago. 2019 a las 16:45, Soumen Khatua ()
escribió:
> Hi Folks,
> At the time of post request I want to provide only ID and then I want to
> fetch the details related to that ID from another model and then I want to
> commit al
Maybe use python3 manage.py runserver if you are on Linux computer
On Mon, 2 Sep, 2019, 4:34 AM Sullivan Nnaji,
wrote:
> I have activated the virtual environment and CD into the project name and
> manage.py was present but still can't run server
> I always get an error of
> File "manage.py", lin
First cd to your project folder. Once there create a virtual environment
and enable the environment.
The best ,the easiest and the smartest method is to use pipenv.
1. First install pipenv with:
pip install pipenv
2. cd to your project folder.
3. Run the command:
pipenv shell
4. Your virtual enviro
Can u send d screenshot of the error message you getting
On Sep 2, 2019 00:04, "Sullivan Nnaji" wrote:
> I have activated the virtual environment and CD into the project name and
> manage.py was present but still can't run server
> I always get an error of
> File "manage.py", line 16
> From ex
Details are available on the Django project weblog:
https://www.djangoproject.com/weblog/2019/sep/02/django-bugfix-releases-225-2112-11124/
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails
22 matches
Mail list logo