Agustin
Someone can recommend a library like pykml for python 3
For red and manipulate one file with format kml
Anonymous
You have 5 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): orders.
Anonymous
when ım start say this
Anonymous
now
Anonymous
TypeError: expected string or bytes-like object
cj
TypeError: expected string or bytes-like object
you definitelly f**k up your project by using non-standard characteres, better delete everything and start again 🤷🏻‍♂️
Anonymous
yeah
Anonymous
i think tis
Manik
**Very IMP question******* What is the ORM to SQL query generation time? does it affect performance on database fetching.
Yannine
Can you please help me, why do you usually get the error in collect static in django?
Yannine
Hello
Yannine
Python manage.py collect static execute, can't find file
Shivansh
Python manage.py collect static execute, can't find file
Why?? Are you in the directory where manage.py file is
Shivansh
??
pvs
Any ideas on how to build an offline sync for the android app whose back end is django rest framework and postgresql
pvs
Thanks man
Денис
Python manage.py collect static execute, can't find file
Collectstatic must be written without a space
pvs
How can i implement bi directional synchronization in django rest framework
Anonymous
Hi everyone, can I give a question? Will you help me to solve this.
Anonymous
Just now, I am trying to get the input value from bootstrap form input and compare it with the values in my another website's API. But still I can't get the values do you know how to get value and compare.
Anonymous
Hie
Anonymous
I should compare it with the API's values if there is such a value I should redirect it to another page and show it's other information by its value
Anonymous
How to install Django on Windows
Anonymous
Anonymous
Anyone send me a link
Anonymous
to install download get-pip.py file
Anonymous
https://www.liquidweb.com/kb/install-pip-windows/
Anonymous
I hv done through watching in YouTube but not getting unable to create a web page
Anonymous
Yes
Ingvar
help please. I have a procedure that displays data on the user. but the data must be transferred to this procedure. I don’t understand how to do this. I really ask for help
Anonymous
Did you install virtual env
Write these in your terminal Django-admin startproject your project name here cd your project name here Django-admin startapp your app name here python manage.py migrate Python manage.py makemigrations python manage.py migrate python manage.py createsuperuser enter your informations python manage.py runserver
Anonymous
or simply clone from github
Anonymous
Hi everyone, can I give a question? Will you help me to solve this. Just now, I am trying to get the input value from bootstrap form input and compare it with the values in my another website's API. But still I can't get the values do you know how to get value and compare. I should compare it with the API's values if there is such a value I should redirect it to another page and show it's other information by its value
Azra
I have a Django project. It works perfectly in my laptop . But when I copy my project to another laptop and runs then the Css and all stops working. Can anyone help me?
Anonymous
I have a Django project. It works perfectly in my laptop . But when I copy my project to another laptop and runs then the Css and all stops working. Can anyone help me?
Consider putting the project into a container and run it in the container. If the django loads correctly from the container, you won't have to worry about which machine environment quirks to load and serve containers
Anonymous
Look up www.docker.com
https://docs.docker.com/get-started/
Shubham
Hello guys I have a query in sql
Anonymous
Hello guys I have a query in sql
I'd be worried if you didn't have queries in SQL
Shubham
I mean I have aproblem
Shubham
snj=# select * from vadachJhad; id | name | level | parent ----+---------+-------+-------- 1 | type1 | 1 | 0 2 | type2 | 1 | 0 3 | type3 | 1 | 0 4 | type4 | 1 | 0 5 | type11 | 2 | 1 6 | type12 | 2 | 1 7 | type21 | 2 | 2 8 | type22 | 2 | 2 9 | type31 | 2 | 3 10 | type111 | 3 | 5 11 | type221 | 3 | 7 (11 rows)
Mirco
Until you don't explain it , we cannot help ya
Shubham
I want query to get leaf node
Shubham
who dont have child
Shubham
Leaf node?
a parent who dont have any child
Anonymous
a parent who dont have any child
Example of a parent with no child? Other than orphans, like what would the table data look like?
Anonymous
11 | type221 | 3 | 7
This has a parent value
Shubham
Anonymous
but no child
How do you know?
Anonymous
I don't know
Anonymous
But there's level 3 in parent?
Anonymous
level
I don't get it
Shubham
okay
Shubham
let me review
Anonymous
okay
If you can explain to me what an orphan data looks like, you can make an SQL query for it.
Shubham
and report
Akash
How should a user enter the string? Through the website right?
Well it’s like I allow them to bulk add 1 per line... My idea is I will ask them to wrap regex in r”” like: abc=xyz r”abc(\d+)”=r”\g<1>” Storing is not actual problem: I can do a regex match later to know if it’s a regex or literal text, but when I want to do regex operation. def clean_word(word): regex_match = re.search(“^r[\”\’](.+)[\”\’]$, word) if regex_match: return regex_match.group(1) else: return word regex_match = re.compile(“^r[\”\’](.+)[\”\’]$) data = re.sub(r”{}”.format(clean_word(original), modified, text) else: data = re.sub(clean_word(original), modified, text) now this is not just the problem I might have the modified part as a literal or regex as well.
Akash
but how can you distinguish a regex string from a literal text? It really is up to you to decide.
User will wrap it in r”” if it’s regex. My problem is how I consider it as raw string if it’s regex. This does not work: replace_with = r”\g<1>” re.sub(original, replace_with, text)
Code9
Is the input trusted?
Akash
Use JavaScript or jquery for this.
I was not using the usual django but just the ORM. Made a function to cycle list that solved it. Thanks
Code9
if text.startswith('\\r"') and text.endswith('"'"): pass #do something to remove that
Code9
that's what I think
carson
After adding slugField to models I get integrityError: unigue constraint failed: new_blog_blogpost.slug.. Can someone help me .I am new to django
Anonymous
I hava a django project that had a dependency earlier in its model. I have now removed the dependency and updated the model with a new package. I now get an error from the migration file that was created earlier expectedly because the package no longer exists. How should I get around this issue.
Troy Barnes
Please help I need to create a login registration interface with room number and password instead of default user name password
Troy Barnes
I can't find any good resources
Anonymous