Anonymous
?
Muflone
You have to serialize it with Json or similar
Amaro
Antwi
Any help with a library that I can use to write into word and has good styling. apart from python-docx?
Yep
How to import a csv file into sqlite3..im gettin crazy with that... Models/views is set up
Yep
Makemigrations and migrate worked
Yep
But now?
Yep
Google/stackoverflow didnt helped me...
Yep
Csv is in /myapp/blog, like my blog with thr view models and so on itself
Anonymous
Hi, how can I transform this query on django:
select P.id_farmer, A.name, P.pointdescription from Farmer A, Parceagri P where P.id_farmer = A.id_farmer
Anonymous
someone here can help?
Anonymous
🙏
inchidi
inchidi
Anonymous
share your model
class Farmer(models.Model):
firstName = models.CharField(max_length=15)
lastName = models.CharField(max_length=15)
email = models.EmailField(
verbose_name='email address', max_length=20, unique=True)
and
class Parceagri(models.Model):
id_parcelle = models.AutoField(max_length=15, primary_key=True)
id_farmer = models.ForeignKey(Farmer, on_delete=models.CASCADE)
pointDescription = models.TextField()
Anonymous
which is best ide
Anonymous
Any one tell me ..How to deploy django website in any web server ..??
Anonymous
I need to check wheather user.groups is superset of some groups list. How to check this on Django ORM?
Avinash
Want to use request object in the rendered template .
Himanshu
Mirco
Avinash
Ok.
Anonymous
In my profile picture i posted a photo.
These all informations in this fields are static and writed in html.
So how i can for example take name and picture of logo from my database? And is it possible? And (when logos are many) search from database and view it in site?
Mirco
Anonymous
and how to put this image into html code?
Mirco
Anonymous
for example <img url=logos.object.get(photo)>?
sravan
Anonymous
thank you
sravan
Sam
Anonymous
Please could you please send it django orm books
Anonymous
does anyone help me out with views,models,forms for my form?
Shreehari
Jesus
Is there anyway to delete the "<th>" tag automatically created when using Django forms? For example, I only want to have two input fields with placeholder in them and not:
Username: <input>
Password: <input>
But:
Jesus
<input placeholder="username">
Jesus
Nevermind, instead of using form.as_table I have just done it manually.
raven
form.as_p
Nick
Why Python cannot be directly used in WebAssembly (an article by wasmdevs)? https://ep2018.europython.eu/conference/talks/lets-embrace-webassembly
Avinash
How to Check whether a model contains an object with username and password , in view ?
Lucian
Yep
I return in my views.py a name
return varName
How can i access varNamr in my models.py? Need it for the db
Yep
b = Blog(channel_name = %s % varName) and other "solutions" didnt worked
Yep
All files are in mysite/blog
Yep
Models.py says that varName is not defined :/
JorgeSierra
Hello
Mirco
Yep
pastebin.com/JqWrdPV7
Yep
I need the chan_name in
b = Blog(channel_name=...)
Yep
To put the value in my db...if i type a string in that, like thr channel_view = 'ok', it works
Mirco
Yep
Yeah
Mirco
Yeah
So use Blog.objects.create and pass to it the channel name
Yep
Okayyyy.... Will try it like that. Im new in django...will google how to do jt with .create, thxs
Mirco
Yep
I will..big thxs again Micro
Mirco
Anonymous
cvam
how to declare a int variable in django template and performs arthmatic operations ??
cj
cvam
cvam
is it possible to run 2 for loops in a single line in django template
cvam
eg for a in b , for c in d ???
Muflone
I don't think is possible in any language in the world
Jimmies San
maybe list comprehensions?
something like
[(x, y) for x in [1,2,3] for y in [3,1,4] if x != y]
Jimmies San
😂😂😂
Sanjay Krishnan
Wisdom
hello everyone. How can i implement a finger print authentication on django app?
cj
Wisdom
how do i go about implementing it?
Leo
Sirius
Hello
Sirius
Why I can't send any image to.