Current
I want to fetch title in url from the HTML template I have rendered
Create a dictionary in your view and send it to html file for example d={'title' :"My title"} render(request, yourtemplate. html, d)
Shubham
Hello guys is there any way of getting an o/p or say return by viewset on python shell
Shubham
?
Shubham
I got upto this
Shubham
In [17]: EmailUserViewSet Out[17]: apps.accounts.views.EmailUserViewSet In [18]: v = EmailUserViewSet.as_view({'get': 'list'}) In [19]: v Out[19]: <function apps.accounts.views.EmailUserViewSet(self, request, *args, **kwargs)>
Macurrent
????
django.db.utils.IntegrityError: The row in table 'app1_tutorial' with primary key '1' has an invalid foreign key: app1_tutorial.tutorial_series_id contains a value '1' that does not have a corresponding value in app1_tutorialseries.id. what about this error
Anonymous
Hi there, how you think. Django girls blog is good course or no? On your opinion
Suresh
Hello I know python How many days requires me to leave Django?
Anonymous
it says clear, Invalid Foreign Key
I don't understand docs, I'm starter
Anonymous
I don't understand docs, I'm starter
so prolly you don't know very well python
Anonymous
Oh, god
learn python, learn how backend works, what's a DB, what kind of DBMS exists, what requests are, acknowledgment and other
Anonymous
Anonymous
Goodbye
Anonymous
cya
Suresh
I have project to do I know how to do in python Idk about Django
Alex
Hello I know python How many days requires me to leave Django?
> How many days requires me to leave Django? > to leave You can do it right now
Suresh
Sorry How many days requires me to *learn Django
Anonymous
depends on your background
Suresh
I know python
Anonymous
I have project to do I know how to do in python Idk about Django
so if you know how to do it in python, you'll learn in a few time how to do it in Django
Suresh
I have a project to do I used HTML,css as front end And PHP and python as back end in local server
Alex
I know python
If you know python, then make your project in it without Django.
Anonymous
but if you ask this question, i'm sure you don't know how to do it in Python
Suresh
I didn't find any online sever which supports python
Anonymous
are you serious? can you google?
Suresh
Yeah They told me to use VPS Which is costly..
Suresh
are you serious? can you google?
I called big rock, GoDaddy
Anonymous
bro
Anonymous
it seems like your kidding me
Suresh
whaaaaaaaaaaaaaaaaaaaaaaaaaaat
I used HTML as front end And python as backend So I didn't get..
Anonymous
Django + Angular = Powerfull WebApp
Suresh
I used HTML as front end And python as backend So I didn't get..
They suggested me to use flask and Django.. Or use VPS..
Suresh
Anonymous
i suggest you to study Django got2go cya
Anonymous
how to fix, ckeditor no working on server, but localhost work
Alex
!meta
Doragonsureiyā
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With 52k+ people the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Alex
how to fix, ckeditor no working on server, but localhost work
Here we go again. My personal telepat is on vacation. Can you please provide either error message or the code?
Anonymous
Anonymous
Show. The f***g code
what does the code mean?
Alex
what does the code mean?
your programm code!
Alex
Ho did you integrate checkedit in your project?
Anonymous
your programm code!
for localhost it works well, but when uploaded to hosting it has problems,
Alex
I'm done
Anonymous
is there additional code for upload hosting?
Anonymous
Lol
😔, i don't understand ,what is he mean
Anonymous
Do you know what is Django?
yes, why you that question for me
Cesar
Within a Django project you have files with code...
Cesar
He is asking for the specific file that has the error
Cesar
He asked about 3 times for the code...
Cesar
How is anyone supposed to help if no one know your code
Anonymous
Yes, I understand, but I'm confused about which code to show, or there might be special code additions, without me having to look at my entire code, so I asked that question earlier
Cesar
... Let's start again... 🙄 You created a Django project Installed django-ckeditor on localhost Uploaded your code to a server (?) Installed django-ckeditor on the server(?) Ran collectstatic on server (?)
Anonymous
Dude. Check the last 3
The last 3 which parts?
xarala221
Yaps, everything went smoothly when on localhost
In Django, Local environment is very different to server . To solve the issue with static files you need to run collectsatic in your server, and in your nginx or Apache configuration you need to configure the Root of static files
Cesar
it's like already bro
THEN WHAT IS THE F* ERROR
Cesar
NO ERROR = NO SUPPORT.
Current
is their any way to host django website on localhost with custom domain
ggr
Is it possible to retrieve data from database in django rest framework with POST method.
Cesar
is their any way to host django website on localhost with custom domain
Why would you do that? To test? I guess you can change your HOST file on your computer to redirect to localhost
ggr
I have some data in model class(student) like (name, email, date, password, id). Now I want retrieve all data if I pass e-mail and password in potsman body form data like email=abc@mail.com and password=abc123. And I want all details like id,name,date,email.
ggr
You can achieve this using viewsets
Can you give some exam because I am new in django.