Lelouch
Cris
Anyone have a JWT authentication article on django with vue?
Yeabsira
Vinayak
How can I send a document to mayan edms from my Django app, without saving it to backend("in media folder")
I try to use ajax to send but i need to save response to Database
Vinayak
Anyone have any idea
Mirco
Anonymous
X
any suggestion for a guideline on deployment of a Django app on cpanel's Setup Python app?
Muflone
Muflone
that would just create a new virtualenv, you have to add your code later
X
so what do you suggest am lost bruh
Muflone
create the virtualenv through cpanel and then install your app into it
X
oK thanks
Nurbek
Good day! Can't figure this problem out. Something messed up with my urls. Tryna generate sitemaps for my Blog Posts. Getting: No reverse match: with no arguments not found
Nurbek
here is the code: https://pastebin.com/4cBp2jVD
Nicolas
Heey, with django can I do a restaurant page with a reservation system?
cj
Kushal
How to make API for Custom User?
Doragonsureiyā
How to make API for Custom User?
Step 1: Open a browser
Step 2: Write down https://google.com or https://duck.com and press Enter
Step 3: In the search box write down the same words you asked here
Step 4: Read the firsts results
Sheshadri
How to organize multiple sites (in the front will be learn.domain, blog.domain etc)?
I have some apps, and some of then are part of the different site, for example, for "blog.mydomain.com" (that will be served by react app), i have articles and comments apps, and for "learn.mydomain.com", i have courses, lectures apps.
Actually i'm using this structure:
ls blog
comments home __init__.py posts pycache replies
and for learn:
ls learn
comments courses __init__.py lectures modules pycache replies
i.e, instead the app living in the root dir, he live in named dir that represent the front-end subdomains.
This is the best way to organize the apps?
https://github.com/jazzband/django-hosts
Anonymous
https://github.com/jazzband/django-hosts
My problem is about directory structute... The things about subdomain i Will set for the React app. Django Will be serve for the multiple subdomains, with only one server/instance
Anonymous
So, the back-end urls is not important
Sheshadri
Anonymous
Anonymous
Example:
blog/articles
blog/comments
learn/courses
learn/lectures
learn/comments
Sheshadri
Anonymous
Anonymous
So, i think that i'm going to correct way. I Will go sleep now
Anonymous
Sorry for bad english
Anonymous
XD
Sheshadri
Kushal
pastebin.com/JUKJm9yK
Kushal
How to make API for model?
Sheshadri
Kushal
But problem is that i made custom user like waiter and chef..now i should made API for login
Kushal
I uses admin email and password
M3FoOoS
Hi all
how can i get the column name(verbose_name) in template i use django 3
Anonymous
Sheshadri
It will work for any custom user, and what you do after login is left to you
Eric
Hi all, DRF question: I have several apps with views that have standard list actions. I want to create a common "export" action that generates a PDF, how can I share one custom export action used by multiple viewsets. A mixin?
Sheshadri
avinash
class New(models.Model):
heading = models.TextField(max_length=200)
t=heading
avinash
do anyoine know how to take text value from a model field and pass it to another variable?
avinash
in models.py?
Sheshadri
avinash
actually i need a field
avinash
how to extract that text value from heading textfield
avinash
thats the issue
avinash
it says TypeError: 'TextField' object is not iterable
Sheshadri
Lot of options ..
1. override save method in models and update the your field
2. Use signals post save and update the value to your field
3. Use def Post or def GET in your submit class or function and update the new field
avinash
avinash
just get the text from that model field
avinash
something that works like heading.text or text(heading)?
Shihasz
Shihasz
You dont have forms file?
avinash
i had to make naother model field that contain the same entry as the heading
Shihasz
avinash
so ill have to enter it twice?
avinash
okey.. ill try that
Shihasz
avinash
okey man.. let me try that first
Eric
rest-framework-latex
I already have an existing PDF creation function. I'm looking for a clean way to have a custom Viewset action that is shared across many of my views
Sheshadri
SG
How to solve manifest.json not found in django react project ?
Pritam
Do we need to use different commands for django used in pip and anaconda, please give me a brief information, I'm a beginner.
Pritam
??
Pritam
Cuz when I'm making changes in models.py its not running on pip but running on anaconda
Anonymous
How i host my django static on netlify
Anonymous
Hey anyone pls tell Im a beginner in Django
Anonymous
Framework
Sari
hai, help me ... when I made an update on django, it failed during the POST process.
this is the error statement
Sari
https://pastebin.com/yn671xqZ
Sari
MultiValueDictKeyError at /admindaya/update/1
"'pekerjaans-0-id'"
Sheshadri
change if id: to if laporan_id: