Irteza
I have django project with postgres I want to send everything to my friend, Whole django file so he can run it easily in his laptop How to do it, i tried sending him zip but its not working well, Can anyone tell me stepby step process
I am newbie to django. The error that i am getting in my terminal is GET /static/style.css HTTP/1.1" 404 1786
i had even added the STATIC_URL = '/static/' STATICFILE_DIRS =[ os.path.join(BASE_DIR, 'static'),] BASE_DIR = os.path.abspath(os.path.dirname(name))
Anonymous
How to create domain name in django from 127.0.0.1:8000 to another domain name?
Anonymous
How to create domain name in django from 127.0.0.1:8000 to another domain name?
You are in local you can just change port like this : python manage.py runserver 8020
sham
how to add and search employee using django python and my sql
Mirco
how to add and search employee using django python and my sql
https://learndjango.com/tutorials/django-search-tutorial
Rahkmanuly
Not jango
Rahkmanuly
DJANGO
Anonymous
Why am I getting error in windows 7 32 bit after pip install mod_wsgi command?
Anonymous
Set path of python
DD
Is that any way to prevent automated login as admin in the application while admin logs into admin panel ? I'm getting logged in as admin in application when in the another tab I log into the admin panel with admin credentials
Akhmad Osmanov
Hi. How do you solve the problem of a large number of custom methods in the model?
Njain
Hello all can you please give me suggestions abou invoice number in django how i can give invoice number views and auto increment when a new order is prepare
Yogi
How to create blog website using Django...
Vadym
Wagtail, puput
Yogi
Ohk
am π
data='arvind' payload1="{\"text\":\"{0}\",\"target_lang\":\"hi\"}".format(data) print(payload1) Giving me error
Mukhil
http://127.0.0.1:8000/Desktop%20Printers how can remove % from url
Mukhil
<a href="{{i.printer_type}}">{{i.printer_type.replace(' ','') }}</a>
William
I think your URL is wrong
William
Check djsngo documentation about urls
Mukhil
in my models Desktop Printers
Mukhil
url not support "space"?
William
What do you want to do?
William
Mukhil
ok
Mukhil
<a href="{{i.printer_type}}">{{i.printer_type.replace(' ','/') }}</a>
pat
How can I send the content of a json file into a sqlite model? Standalone python script or directly with django?
William
Use "/{{}}"
🄻🄴🄰🄳🄴🅁
Why using .replace() inside a-tag
https://www.learnbyexample.org/python-string-replace-method/
Mukhil
space included in Desktop printer so i need to replace to "/"
MYIL
Any ERP using Django???
JP
Mysql client ki error aa rahi, uska package install karne ke baad bhi! To koi solution de sakta he?
Kashif
Hello guys, I'm getting dates in "1356998400000" this format. How I can convert it into normal date like 1/1/2013.
Mukhil
<a href="{{i.printer_type.distinct()}}">{{i.product_type}}.{{i.printer_type.distinct()}}</a>
Mukhil
Could not parse the remainder: '()' from 'i.printer_type.distinct()'
whatsinaname
The data of my user model is being saved under another model, can anyone help me figure out why is that?
Anonymous
from datetime import datetime
Njain
Hello all can you please give me suggestions abou invoice number in django how i can give invoice number views and auto increment when a new order is prepare
Shreya
Could anyone please tell me how to select all the checkboxes (which are multiselect checkboxes) by default in django???
Shreya
I tried to set initial value as initial=[i[0] for i in choices] But its not working.
Shreya
can anyone tell me some way to implement it ???
Anonymous
can anyone tell me some way to implement it ???
Where are you want to implement it, in template or in views.py file???
William
Could anyone please tell me how to select all the checkboxes (which are multiselect checkboxes) by default in django???
It means you have model fields as BooleanField then in that field default = True. In all form then the checkbox will be clicked
T I T T U
When I deploy digital ocean in Django projects Postresql occurs error
T I T T U
When I deploy digital ocean in Django projects Postresql occurs error
conn = _connect(dsn, connection_factory=connection_factory, **kwasync) django.db.utils.OperationalError: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5433?
whatsinaname
I can't add user details into already existing User model
Anonymous
I can't add user details into already existing User model
You can create another model with one-to-one relation with your user model
pat
What a wonderful worldwide community.. I want to thanks all the good people here helping others 👌👌 I hope you will make it!
Anonymous
The data of my user model is being saved under another model, can anyone help me figure out why is that?
Check user model in your settings.py and also check how do you create the user
Roger
Hello there! hi, i would like you to help me with this I'm using python 2.7 and django 1,11, the project was created with that. I have to show 10k rows in a table, I can do it with datatables and json, but is to slowly. How can I improve the response time, the query and the json? I appreciate your help
Roger
use backend responses in datatables
i did it a while ago, but the pagination was slow because it use a .count() in the query, besides the hit to database was too much there is another way?
Trials
i did it a while ago, but the pagination was slow because it use a .count() in the query, besides the hit to database was too much there is another way?
then you're doing the query in a wrong way, I did that, using datatables in the frontend and DRF in the backend, for 500k+ entries, and it wasn't slow at all
Pieas
Hello, I've noticed on elementary.io website, on custom pay what you want donation input box, you cannot put anything other than numbers. Any idea how to do that?
Michael ✨
Has anyone tried oxxo-Stripe?
Doragonsureiyā
Has anyone tried oxxo-Stripe?
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Michael ✨
Hello, I need help on oxxo-Stripe
Doragonsureiyā
Hello, I need help on oxxo-Stripe
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Krishna
Hi, I have built a form in dango, and further wants to add new fields dynamically based on the value of one field, and this process may be repeated any number of times, plz suggest something
Saboor
Can anyone guide me about the jwt token in django
Doragonsureiyā
Can anyone guide me about the jwt token in django
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 first results