any fields? I have not started
creating models of those tables yet. But the database has it's own
naming convention for relationship tables used for holding ManyToMany
fields.
Thanks & Regards,
Suraj
--~--~-~--~~~---~--~~
You received this message because
y what I was looking for.
>
> If you're feeling enthusiastic, a fix to overcome this limitation
I shall definitely try to implement the fix as suggested in ticket 785
once I get to the many_to_many part.
Thanks & Regards,
Suraj
--~--~-~--~~~---~--~~
You
form.save()
return super().form_valid(form)
The problem is:
All data of model Outcome and Course is saved except m2m field of Course
model.
I am stuck at this point. Any pointer in right direction will be highly
useful.
Thanks in advance,
--
Suraj
https://hacksj4u.wordpress.com
ht
super().form_valid(form)
```
All my data in Outcome and Course models saved successfully except m2m
field of course model.
Can anyone please guide me what I am doing wrong here.
Thanks in advance,
--
Suraj
https://hacksj4u.wordpress.com
https://github.com/SurajDadral
--
You received this message
wise it should first store outcomes into database
and then map them to course.
Any guidance in right direction will be highly appreciated.
Thanks,
--
Suraj
https://hacksj4u.wordpress.com
https://github.com/SurajDadral
--
You received this message because you are subscribed to the Goog
trap.
>
> Please any help would be truly appreciated.
>
You can use django-tables2
<https://django-tables2.readthedocs.io/en/latest/> to create tables from
model data.
It is very simple by using django-tables2.
--
Suraj
https://hacksj4u.wordpress.com
https://github.com/Sur
alter the test_* tables, they obviously wont be there, because
theyre created only while running the tests...
The fix mite be as simple as putting the test_ tables in the skip set.
-
Suraj Jacob
On Thu, Oct 28, 2010 at 14:56, girish shabadimath
wrote:
>
> Hi all,
>
> im re-sending this m
means your object cannot be converted into string. You have to either
provide a __unicode__ or __str__ for your model, or pick a particular field
that you are trying to coerce with the rest of the string
On Thu, Oct 28, 2010 at 15:15, Hussain Deikna wrote:
> Hi, I am newbe in django and I have g
change it from
(r"wap/di/sub",current_datetime)
to
(r'^wap/di/sub','current_datetime')
On Thu, Oct 28, 2010 at 15:52, sami nathan wrote:
> (r"^wap/di/sub",current_datetime)
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
Hi, I am very new to django framework..
I would appreciate If I can get some tutorial to start on windows operating
system...
Thanks!
--
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
<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *Suraj Kumar
> *Sent: *Friday, August 14, 2020 7:32 PM
> *To: *django-users@googlegroups.com
> *Subject: *
>
>
>
> Hi guys,
>
>
>
> I am to new django.
>
>
>
Hello,
Can anyone tell me What is the code for template path in setting.py
On Fri 14 Aug, 2020, 21:01 Suraj Kumar,
wrote:
> Yes, I didn't include template path in setting.py.
> So, that reason template doesn't exist error message coming
>
> On Fri 14 Aug, 2020, 2
Hello Django Users,
I want to know there is any need of knowledge in css, Html while
developing website through django. I can also use css framework bootstrap
instead of css.
Suraj
--
You received this message because you are subscribed to the Google Groups
"Django users"
No, this solution not help for me.
I am still getting same error.
On Sun 16 May, 2021, 14:36 Chelsea Fan,
wrote:
> try this
>
> On Sun, May 16, 2021 at 11:40 AM Suraj Kumar <
> surajsrivastava021...@gmail.com> wrote:
>
>> Hi everyone,
>>
>> I having so
Do you know Automation through Python.
I want to learn automation tools.
Tools like appium, selenium
--
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-user
Please guided me to where I have selenium python for automation
On Sun 23 Feb, 2020, 3:53 AM Gurmeet Kaur,
wrote:
> I also know how to write selenium code in integration with Python. I can
> help too.
>
>
> Thanks,
> Gurmeet Kaur
>
> On Sat, Feb 22, 202
who want to join this project kindly WhatsApp on this number +917800990208
On Tue, Feb 27, 2024 at 11:25 AM Starnford Chirwa
wrote:
> Im interested please add me.
>
> On Sun, Feb 18, 2024 at 6:48 PM SURAJ TIWARI
> wrote:
>
>> 🚀 Join Our Django WhatsApp Bulk Messaging Pr
4
Your contributions to this testing effort will play a crucial role in
expediting the merging process. We highly appreciate your time and effort
in helping make Django even better.
Thank you for your support and dedication to the Django community.
Best regards,
Suraj Kumar Shaw
--
You rece
Yes, Its possible.
Please follow this -
https://docs.djangoproject.com/en/5.0/topics/db/multi-db/
Thanks
Suraj
On Wed, Aug 14, 2024 at 8:45 PM Dhanushpathi Prakash <
dhanushpathiprak...@gmail.com> wrote:
> Is there is possible to multiple database with a single app. How?
>
> --
Use channels
On Tue, 30 Jun, 2020, 4:36 pm Olivier, wrote:
> Hello,
>
> Django Admin implements list_display settings with which you can create
> columns of database-extracted or computed values.
>
> Is there to update these values without requiring Django Admin users to
> reload or refresh curr
Yess
On Thu, 4 Mar, 2021, 10:01 am Noel Simela, wrote:
> Good day,
>
> I am looking for a good django developer to assist with some elements of a
> project.
> If you are familiar with Class Based Views , Signal and Haystack please
> respond.
>
> No chancers please.
>
> --
> *Noel Nqabeni Simela*
After creating a multi-stage form
How do I restrict the access to the particular part of the form to a
particular user.
Suppose I have 3part of the form... User1 can access part1 of the form
after that user2 can access the part2 of the form and so on...
.
.
.
Admin cna View and access all part
You can simply do this with a single login
On Tue, 12 Nov 2019, 6:59 pm Deepak Singh,
wrote:
> I have a survey form for students and teachers. Questions are different
> for students and teachers, so I want to provide them with different login.
> How do I create different login pages in Django th
It should be like.. APIView not like APIview
On Wed, 13 Nov 2019, 9:33 am MEGA NATHAN, wrote:
> patterns = getattr(self.urlconf_module, "urlpatterns",
> self.urlconf_module)
> File
> "C:\Users\Meghanathan\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\utils\functional.
Refer the docs... Its easy
On Tue, 19 Nov 2019, 8:16 pm o1bigtenor, wrote:
> On Tue, Nov 19, 2019 at 7:30 AM Prof soul wrote:
> >
> > Hi i'm soul i'm new to django and late, i got an idea to handle the
> django but there is still lack of database connectivity with django
> anybody know about
Return the unique key object... Like
return render(request, 'abc.html',unique_key)
On Wed, 20 Nov 2019, 9:18 am Andrew Stringfield,
wrote:
> Hello all,
>
> I am trying to access Dictionary values directly. Here is my view:
>
> def unique_key_query(request, unique_key):
> unique_key
You can't
On Wed, 20 Nov 2019, 3:57 pm Andrew Stringfield,
wrote:
> First, thank you for the reply Suraj! I think that I misstated what I was
> really trying to do. I am trying to access the dictionary values directly
> in the Template and not in the View. I am tr
Remove cache and try again
On Tue, 3 Dec 2019, 3:39 am Leó Horváth, wrote:
> hi,
> I did what Kevin requested, now console says "GET /pages/ HTTP/1.1" 200
> 536 and the style still doesn't work.
> Any ideas?
> Thanks,
> Leó
>
> Kevin Dublin ezt írta (időpont: 2019. dec. 2., H,
> 21:41):
>
>> Hi
Wrote the following
Virtualenv test
On Wed, 4 Dec 2019, 4:57 pm Hima Bindu chowdary,
wrote:
> I had created a virtualwrapper then had to create a virtual env called test
> when i ran the following command i got this :
>
> C:\Users\User>py -m pip install virtualenv test
> Requirement already sati
Can anyone guide me to implement live notifications system in DRF.
--
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
Where's the code
On Mon, 16 Dec 2019, 5:53 pm Tafadzwa Marshal, wrote:
> hello, your problem is easy to solve. The 'createsuperuser' command
> creates a user with the 'staff' attribute set to true. When you create a
> user through
> the model thats inheriting from the User model, the default for
Yes.. Use django channels or ajax polling
On Thu, 19 Dec 2019, 8:03 pm sowmya, wrote:
> In views.py function computes and results in lakhs of records. For this
> computation in the back-end taking lots of time. I want to know a mechanism
> in which I can update to front end after processing 1000
Cr is string not a model that's why this error is coming...
change the name of cr variable in which you are taking the request data
On Sat, 28 Dec 2019, 4:41 pm gaurav jain, wrote:
> Show the backend code of the post request
> Regards
> Gaurav Jain
>
> On Sat, 28 Dec, 2019, 4:31 pm Chetan Rokade
Yes ping me
On Sun, 5 Jan 2020, 3:37 am Desh Deepak, wrote:
> Can you explain details.
> Some example of code...!!
>
>
> Thanks in advance
>
> On Sun, 5 Jan 2020, 00:03 Evil Kunt, wrote:
>
>> Hey ,
>>
>> For rest , if you like i can help you with i use DRF , Falcon and HUG
>> mostly .
>>
>> For
For email you can set email field in model as unique=True and the password
should be stored in hash..
On Wed, 8 Jan 2020, 9:37 pm Soumen Khatua,
wrote:
> Hi Folk,
>
> What is the process to validate fields in django rest framework?
> like email and phone number should be unique and password sho
e
> = models.BooleanField(_('active'), default=True)is_staff =
> models.BooleanField(_('staff status'),default=False)date_joined =
> models.DateTimeField(_('date joined'), default=timezone.now)*
>
>
> I already did that but I want to rai
Code...?
On Thu, 9 Jan 2020, 8:40 pm Soumen Khatua,
wrote:
> Hi Folks,
>
> In django rest framework,I extend the LoginApiView(APIView) but when I'm
> passing username and password in browser it logn successfully but in post
> man I'm getting :
>
>
> *{"detail": "CSRF Failed: CSRF token missi
https://github.com/SurajFc/Django-DRF-Boilerplate-with-otp-verification
On Fri, 10 Jan 2020, 12:35 pm Soumen Khatua,
wrote:
> Hi Guys,
> In Django we have some inbuilt class for password rest and confirmation.
> But In Django rest framework ,How can I do that?
>
> Please share any code snippet o
Google it
On Wed, 15 Jan 2020, 8:21 pm Deepak Singh,
wrote:
> How to download json file from the url and convert it into csv format
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving email
Use select related in django orm
On Fri, 17 Jan 2020, 7:57 pm Soumen Khatua,
wrote:
> Hi Folks,
> *Actually I'm extending User table in some other table and this current
> table I'm extending soe other table. But this time I want to filter by
> using first table username How can i Do that?*
>
>
Use django orm
On Fri, 17 Jan 2020, 8:48 pm Stephen, wrote:
> How can I join two database tables together please?. I'm trying to display
> every object in a table that is linked to an object in another table. I
> can't seem to get it to work
>
> --
> You received this message because you are sub
Ofcourse you can...
It will not create any problem
On Mon, 20 Jan 2020, 10:49 pm graeme, wrote:
> I have people's first names and last names in another model (because not
> all people in the DB are users). Therefore if I store names in the user
> model I will duplicate data.
>
> I think the righ
Just right a simple python function With random number generation...
And call it where you want to use it
On Wed, 22 Jan 2020, 12:03 am Soumen Khatua,
wrote:
> Hi Folks,
>
> I want to start my primary key from saome random number like: (onwards)
> but not from 1. How I can do that in dja
You must be trolling...
On Mon, 3 Feb 2020, 9:55 am Pawan Kumar, wrote:
> Thanks Team,
>
> Definitely i am able to create multiple tables using models .
> But I was planning to implement a solution with following scenario--
>
> I have 16 different tables & these can be rendered to multiple html p
Create your own
On Thu, 6 Feb 2020, 2:58 am Emmanuel klutse, wrote:
> Hello team,
> hope we are all doing great.
> I'm a beginner working on my first DRF project, I am trying to build an
> e-commerce site.
> I want to know the difference between django rest-auth and djoser, and
> which of them w
There can be only one view for one page
You have to implement both in same view
On Tue, 3 Mar 2020, 2:58 pm victor awakan, wrote:
> What I meant was I want one form to be saved in one model and the second
> form to be saved in another model. I did that using form-tools but I want
> to learn
You can use some 3rd party apis
On Fri, 13 Mar 2020, 4:42 pm Santhosh sridhar,
wrote:
> Hi,
> I am working on django and I trigger emails to multiple email IDs in
> different scenarios, Is there a way to get the count of emails sent
> everyday instead of storing it in tables.
>
> Regards,
> Sant
You should look for elasticsearch
On Sun, 15 Mar 2020, 9:08 am Will Meyers, wrote:
> Hi all,
>
> Just a quick question. I'm working on a general search function for my
> application and just wanted your opinions before I do any sort of
> benchmarking.
>
> Right now I have a PostgreSQL database w
Does it matters..?
On Mon, 16 Mar 2020, 10:29 pm sagar ninave, wrote:
>
>
> I want to know why this serializes class here we can write it in separate
> file too so why here?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscrib
You can write serializers anywhere
On Tue, 17 Mar 2020, 10:14 am sagar ninave, wrote:
> i dont know? thats why i am asking
>
> On Mon, Mar 16, 2020 at 6:01 PM Suraj Thapa FC
> wrote:
>
>> Does it matters..?
>>
>> On Mon, 16 Mar 2020, 10:29 pm sagar ninave,
&
No
On Thu, 19 Mar 2020, 10:53 am venna venkatReddy,
wrote:
> It is Possible to send html File through Django Rest API. I need how to
> send Template/one.html file to Other Application when they hit my API.
>
> Please respond or suggest any url
>
> --
> You received this message because you are s
You can't use gunicorn with django channels...
Use Daphne or uwsgi etc
On Wed, 18 Mar 2020, 11:49 pm N'BE SORO, wrote:
> hi i have a problem with django channel and gunicorn.
>
> I don't know how to configure my project so that the websocket can pass.
>
>
> thank you.
>
> --
> You received this
hey guys..
i want to broadcast my webcam stream from browser to an rtmp server...
i had use obs and its working fine...
any ideas how can i do this in my website..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
posts.model.values('id', 'details', 'user__name' )
On Mon, 30 Mar 2020, 5:26 pm Anoop Thiparala, wrote:
> I need help with a django query...I have two models
>
> 1)* POSTS*
> ==>id
> ==>details
> ==>user(foreign key to user table)
>
> 2) *USER*
> ==>id
> ==>email
> ==>name
>
> *SQL VERSION:* SEL
Sorry its like this...
posts.objects.values('id', 'details', 'user__name' )
On Mon, 30 Mar 2020, 7:46 pm Suraj Thapa FC, wrote:
> posts.model.values('id', 'details', 'user__name' )
>
> On Mon, 30 Mar 2020, 5:26 pm Anoop T
Read about jwt token refresh and interceptors in spa
On Tue, 31 Mar 2020, 11:00 pm crack studio,
wrote:
> Hello Everyone,
>
> I want to implement and integrate different, separately Django service.
> Suppose I have these two different projects.
>
> 1. Authentication *rest API* ( user can registe
MEGA NATHAN wrote:
>>
>> yeah bro
>>
>>
>>
>>
>>
>> *Regards*
>> Meganathan G
>>
>>
>>
>> On Wed, Nov 13, 2019 at 10:15 AM Suraj Thapa FC
>> wrote:
>>
>>> It should be like.. APIView not like
Django channels
On Wed, 20 May, 2020, 9:07 pm chaitanya orakala,
wrote:
> Hi Meera,
> Please go through this link, it might help you
> https://chatterbot.readthedocs.io/en/stable/django/
>
> how ever if you are ok with third-party applications, you can choose
> Zendesk or Drift.
>
> Thank You
>
How can I create a file field which one can upload Multiple files in it...
--
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.
>>
>>> TL; DR; you can't.
>>>
>>> You though can upload multiple files just fine you just need to handle
>>> them manually.
>>>
>>> Also if you plan to keep files around your models must enable that.
>>>
>>>
>>
ple-file-field
>
> The official way is probably still in progress:
> https://code.djangoproject.com/ticket/28554
>
> On Tue, Jul 30, 2019 at 12:51 PM Suraj Thapa FC
> wrote:
>
>> Actually I'm asking to store multiple files in a single model field and
>> handling e
Is there any better way with proper good documentation about email
verification using jwt.
--
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
Can anyone help me with Django otp in email
--
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
https://www.reddit.com/r/django/comments/ckk2v8/email_activation_confirmation/?utm_medium=android_app&utm_source=share
--
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 emai
Ok
On Sat, 3 Aug, 2019, 7:30 PM LostCitizen, wrote:
> Im working in a startup based in Barcelona (Spain) if you are willing to
> help let me know!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop
How do I write my front-end form response in.. .json file
--
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 thi
How can I linked a JSON file with my db... Json files contains the key
value pair of the user data..
If the id in the db and the id in the json files matches i can fetch and
read it..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscrib
Can you pls elaborate or have any working code
On Sat, 10 Aug, 2019, 9:40 PM Andrew C., wrote:
> Two options:
>
> 1) Save the JSON files and link it with a FileField
>
> 2) Use PostgreSQL’s Django-specific JSONField.
>
> On Sat, Aug 10, 2019 at 9:46 AM Suraj Thapa FC
&g
Is there any way I can initialize the value of uuid in serilaizer or maybe
in view
--
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...@googl
How can I use postgres along with Mongodb
Different table different db
--
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.
Sir, how can I implement it..?
On Mon, 12 Aug, 2019, 8:10 PM Jani Tiainen, wrote:
> Hi.
>
> Yes you can. Of course since mongodb isn't relational database you get
> best experience by using native python api to mongodb and Django orm for
> postgres.
>
>
> ma 12. elo
How can I fetch the particular field from. URL in get request
For eg the URL is 192.168.0.1:3000/course/5d567hfbjy7/abc
I want to fetch "5d567hfbjy7" from the url
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group an
How can i save multiple files? With rest api in a specific folder
--
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 v
How to save multiple files in a specific folder without using models in a
rest api
--
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...@googl
I want to upload Multiple files without using models to a specific folder
in rest api
--
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...@go
This is my model
class courses(models.Model):
cid = models.UUIDField(default=uuid.uuid4, editable=True, primary_key=True)
course_title = models.CharField(max_length=255, default="")
class course_rating(models.Model):
cr_id = models.BigAutoField(primary_key=True)
cid = models.ForeignKey(courses,o
field names could have been c.course.cid and
> c.course.course_title, probably more meaningful.
>
> Again, convention is for convenience.
>
> Cheers.
> ====
> On Wednesday, August 21, 2019 at 2:46:12 PM UTC+5:30, Suraj Thapa FC wrote:
>>
>> This is
token = request. Meta['HTTP_AUTHORIZATION']
data = {'token' : token}
payload_decoded = jwt.decode(token, settings.SECRET_KEY)
try:
valid_data = VerifyJSONWebTokenSerilaizer().validate(data)
user = valid_data['user']
self.request.user = user
except:
pass
On Thu, 22 Aug, 201
n there has to be some foreignkey there I guess your
> "courses" table should have CID as foreignkey. May be I am wrong.
>
>
> On Wednesday, 21 August, 2019, 08:26:52 pm IST, Suraj Thapa FC <
> surajthap...@gmail.com> wrote:
>
>
> Thanks...
>
> On Wed, 21 A
Search djoser
On Thu, 22 Aug, 2019, 12:15 AM Sandip Nath, wrote:
> Are there any ready to use user authentication API for Django where user
> can register not only with username, password and email but also with date
> of birth, profile-url, picture etc?
>
> --
> You received this message becaus
class courses(models.Model):
level = (
('beginner', 'Beginner Level'),
('intermediate', 'Intermediate Level'),
('expert', 'Expert Level'),
('all level', 'All Level'),
)
type = (
('live', 'LIVE'),
('on demand', 'On Demand'),
)
SELECT *
FROM course_review_report LEFT JOIN courses ON course_review_report.cid =
courses.cid
Can anyone pls write the querryset for the above sql query
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop r
Invalid field name error
On Fri, 23 Aug, 2019, 11:58 AM Sipum, wrote:
> You can use Queryset like -
>
> course_review_report.objects.select_related('courses')
>
> On Fri, 23 Aug, 2019, 11:07 AM Suraj Thapa FC,
> wrote:
>
>> SELECT *
>> FRO
Anyone have real-time pluggable chat system app in django.
--
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 thi
Anyone know making chat app using sockets in rest api
--
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 dis
Thanks i did it with Django channels
On Wed, 28 Aug, 2019, 7:20 PM nm,
wrote:
>
> Perhaps you're looking for Django Channels?
> <https://channels.readthedocs.io/en/latest/>
>
> On Tuesday, 27 August 2019 15:08:47 UTC+2, Suraj Thapa FC wrote:
>>
>> Anyone
Code pls
On Fri, 30 Aug, 2019, 6:06 PM Soumen Khatua,
wrote:
> Hi Folks,
>
> After do some modification in models.py like I remove some column and add
> some column in my models,now I'm getting this error:
>
> *TypeError: expected string or bytes-like object*
>
>
> Please tell me how can i solve
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
😂
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
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
In DRF, only AllowAny permission is working.
My Views.py
class generate_course(APIView) :
.
.
.
permission_classes = (IsAuthenticated,)
authentication_classes = (JSONWebTokenAuthentication,)
def post ( self, request) :
..
https://github.com/SurajFc/Django-DRF-Boilerplate-with-otp-verification
--
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
Check out this
https://github.com/SurajFc/Django-DRF-Boilerplate-with-otp-verification
On Fri, 6 Sep, 2019, 5:14 PM VIJAY RAJA, wrote:
> How to create user registration forms
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscri
1. python manage.py migrate - - run-syncdb
On Sat, 7 Sep, 2019, 6:30 PM Arnav Rastogi, wrote:
> 1. i remove the db.sqlite file and pycache
>
> 2. re run the makemigrations and migrate command
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" gr
How to implement Single Sign(SSO) with Django
Any idea..?
..
--
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 t
https://hastebin.com/powupucitu.sql
Can anyone convert this into queryset...
--
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
React
On Thu, 26 Sep, 2019, 1:53 PM Balaji Shetty, wrote:
> Hi
>
> Can anybody please tell me what are the different options to create GUI
> (User Interface ) for Front End in Django.
>
> I got answer like Angularjs, Nodejs, HTML5 or CSS.
>
> Which one is easier as well as mobile compatible if w
In urls.py
Write
from django.urls import path
On Thu, 3 Oct, 2019, 10:02 AM MEGA NATHAN,
wrote:
> Hi.
>
>
> i'm meganathan beginer for django
>
> urls cannot import for path . how to reslove
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django us
Use uuid
On Fri, 4 Oct, 2019, 8:23 PM yashwanth .k, wrote:
> Hello,
>
> My model consists of user details such as username and his id which is
> auto-generated by DB(indexing).
> Apart from this, I need to assign a random unique 9 digit number for every
> user.
> The reason for assigning a rando
How do I protect the media and static files... From unauthorised access.
--
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.co
1 - 100 of 118 matches
Mail list logo