.......
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?
Fan / Ac
Hi Guys, Good evening. please can anybody direct me to a resource for generating pdf file from a html file in django
check these two and choose what works https://www.codingforentrepreneurs.com/blog/html-template-to-pdf-in-django/ https://stackoverflow.com/questions/1377446/render-html-to-pdf-in-django-site
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
Light yagami
How to build django web in which users approved first by admin from dashboard before accessing the site plz help me
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
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
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.
.
Do any one know how to link html with css
Rohit 007
Do any one know how to link html with css
In django documentation look for static files
Rohit 007
Is there any way to show a confirmation window when deleting a record
Alex
TemplateSyntaxError at /employee_projects/ Could not parse the remainder: ',value' from 'key,value'
or maybe there is has to be a space between a comma and the second value when unpacking something.
pavan
here sharing is not allowed if you don't mind i will send you
Alex
here sharing is not allowed if you don't mind i will send you
Sharing is allowd here - copypaste you error message or code on a pastebin-like service.
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
Sharing is allowd here - copypaste you error message or code on a pastebin-like service.
https://gist.github.com/pavankv1/a24502c3725ca8f9e64afda510e7082f
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..
Maxim
https://drive.google.com/file/d/1Z0Q7kzQI-9l0zT4FesIlW4_ppcOOjOeM/view?usp=drivesdk
i don't know about others, i wouldn't ask for access if i didn't have a vested interest
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' ")
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
Sam
Can anyone resolve this issue?
Have you made or applied migrations? You might have modified the model and forgotten to apply migrations...
Вова
Hi guys! How can i position radiobuttons horizontally ? I have 25radiobuttons and I want to arrange them 5 in a row
Doragonsureiyā
Hi guys! How can i position radiobuttons horizontally ? I have 25radiobuttons and I want to arrange them 5 in a row
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
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.
None
Try opening your admin for Profiles and choosing the user you created for the new profile.
I mean when i fill the fields to create a user when we click save is it possible to create and save a profile instance?
Егор
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
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
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..
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
Bro I only need to remove group 2 .. Since all the values are match ... Even if only one value is Nan of that group_id .It is supposed to be in the dataframe.
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
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