.......
and I run the command : heroku run python manage.py migrate
.......
But I'm receiving a error code of : ModuleNotFoundError: No module named 'djangoProject1'
.......
But I have the module in my project, so anyone know how to solve?
Nwosu
Hi Guys, Good evening.
please can anybody direct me to a resource for generating pdf file from a html file in django
W
hi there, GN. Does anybody knows how to setup environment variables in a cpanel shared hosting?
Nwosu
Shafin
Hi is it possible document scan ad upload document datas into db
Shafin
Document scanner
Muhammadali
ERROR [django.contrib.gis:73] Cannot create SPATIAL INDEX CREATE SPATIAL INDEX `client_top_destinations_destination_point_id` ON `client_top_destinations`(`destination_point`). Only MyISAM and (as of MySQL 5.7.5) InnoDB support them.
I got this error, anyone can help me?
Эндейл
How to build django web in which users approved first by admin from dashboard before accessing the site plz help me
SuperN00b
Axror
Hi guys. Has anybody used WebRTC in django?
Doragonsureiyā
Hi guys. Has anybody used WebRTC in django?
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
Alex
Muhammadali
Shafin
Shafin
Scan documents and get the text and insert text in database
Anonymous
Can I use django to build server side logic for telegram bot, what have 1 task - monitoring the other chats and save this chat's messages on every new one received?
pavan
In template i had given like this i want to get only one project value as number.
<td class="c1">{{ row.name }}</td>
<td class="c1">{{ row.id }}</td>
{% for heading in project_list %}
<td class="c1"> {% if heading in row.projects %} {{row.projects}} {% else %} 0 {% endif %}</td>>
{% endfor %}
output:
{'Example Project 2': 25, 'Tool Makers': '75', 'New Project': '75'}
my output looks like this but i need 25 as output
pavan
what can I change in if condition to achieve my output ,can anyone pls help me to sort it.
Alex
pavan
.
Do any one know how to link html with css
Alex
Rohit 007
Is there any way to show a confirmation window when deleting a record
Alex
pavan
pavan
here sharing is not allowed if you don't mind i will send you
pavan
i did nt get error msg alex I'm getting o/p table
Абдулазизов
Hello guys, I wanted to add payment gateway to my project but I have not done this before, how can I do that can you help me
pavan
Prashant
Hi, have anyone used row level security in django ?
https://pganalyze.com/blog/postgres-row-level-security-django-python
If anyone so please let me know
Jerit
Can anyone help me with the code to register an user ?
Rahul
guys, I tried to change field attribute of a model in views...
#views.py
FileStorage. _meta.get_field ('upload_file').upload_to= path
But got this error,
'Detected path traversal attempt in....'
How can i fix this? Is their other ways to do this? Plz suggest me..
pavan
Ilsaf
Hi guys) There is someone who worked with webhooks?
Doragonsureiyā
Hi guys) There is someone who worked with webhooks?
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
shiva
django.db.utils.OperationalError: (1054, "Unknown column 'modules_module.ukey' in 'field list' ")
shiva
Denis
how to log all changes in the database?
when deleting - I need not delete the data, but mark it with the "deleted" flag
on change - store history of all changes
Ademola
Hello guys. I am trying to keep value on textField area for update. Since I only save(commit=False). I haven’t save to database yet.
Ademola
ngdream
hello please how to send all type of files to cloudinary with filefield
Syam
raise IntegrityError(
django.db.utils.IntegrityError: The row in table 'adminside_courseselect' with primary key '1' has an invalid foreign key: adminside_coursesel
ect.c_name_id contains a value '1' that does not have a corresponding value in adminside_course.c_id.
Syam
How is this work?
Can anyone tell this issue?
Syam
How to define foregin key in django?
Syam
Any examples?
Hari
Check here https://stackoverflow.com/questions/14663523/foreign-key-django-model
Вова
Hi guys!
How can i position radiobuttons horizontally ? I have 25radiobuttons and I want to arrange them 5 in a row
Sukuna
None
I have 2 models customuser and profile,where profile model has one-to-one relationship with user.In admin panel when adding a new user I have to add information in both customuser and profile model. With StackedInline the fields of profile model has been included with creating a new user. I am able to save the customuser instance but how can I create a profile instance along with it and save it?
Егор
Hello everyone! I have a block of navigation menu in my html(https://pastebin.com/A1KX5iHv) and it is not shown in browser when I manage.py runserver. The views.py for the app used to serve this file is very simple(https://pastebin.com/Jv7Nszqh). What should I do to make my menu visible?
EDIT 1: When I open my html on PC with browser everything is shown and works fine.
EDIT 2: If you can help me figuring this out I can provide .css and .js and even pay you.
Егор
Егор
If you create a view you can automate this, yes
Егор
Basically you better use OneToOneField
Haha
Hey guys , I need some help with pandas dataframe code ..
If someone is willing to know the query please DM me
Sam
Haha
I've a dataframe in which I've two columns one is group_id and other one is match column ..
Group_id. Match
1. Nan
1. Match
2. Match
2. Match
2. Match
3. Nan
3. Nan
Haha
Haha
Like in group 2 for this example
Haha
I'm trying to do it with groupby but I am not able to find the solution
Haha
I need to remove that "match" group_id from the dataframe..
Sam
Haha
Sam
pavan
In template i had given like this i want to get only one project value as number.
<td class="c1">{{ row.name }}</td>
<td class="c1">{{ row.id }}</td>
{% for heading in project_list %}
<td class="c1"> {% if heading in row.projects %} {% for key,value in row.projects.items %}{{value}} {% endfor %} {% else %} 0 {% endif %}</td>>
{% endfor %}
output:
{'Example Project':25 75 }
{'valeo Project': 25 75}
my output looks like this but i need 25 for 1st project and 75 for other
pavan
https://drive.google.com/file/d/1Z0Q7kzQI-9l0zT4FesIlW4_ppcOOjOeM/view?usp=drivesdk
pavan
can anyone pls help
theDisgrace
sarth
hello friends, i want catch exception in the threads and store inside the django model, i am using thread for sending email, want to how many mail has been sent from our end and how many not send..
sarth
please help
Anonymous
hello everyone one
I'm just starting out on Django
I've created an external directory for templates so was asking how can I link it with the navbar
for custom .html files
including drop-down menus