.
Django has a lot of stuff included. It is not microframework
cj
only if you are gonna use it 🤷🏻‍♂️
.
Firstly you shall find case. Then make question and write this in google
cj
well... you should learn English too... it's not hard, and it's gonna help you a lot 🙂
.
Django 2 is almost similar to 1 versions
cj
yes
cj
Django 2 is almost similar to 1 versions
in some parts yes, in others not
cj
they try to keep a backward compatibility
.
in some parts yes, in others not
For beginner I think not much
Maz
The books and vids you wanted would have been in English too, not Persian.
cj
For beginner I think not much
well... for a beginner, Django2 urls patterns are gonna be easier, and when he wants to try Django1, his mind will get burnt
Charly
the source for updated docs will always be on english :(
cj
you must buy it, we don't support piracy here, sorry
.
I'm lucky, because there is a lot of content in russian😂.
.
I'm banned in russian Django chat because of my profile name and photo (
Fisseha
Plz send as django by example
cj
Plz send as django by example
have you read my last message?
.
It will)
Fisseha
have you read my last message?
I just cant buy it for a lot of reasons, just send me the pdf
.
💩
cj
I just cant buy it for a lot of reasons, just send me the pdf
do you want to be banned? because that's how to be banned
Anonymous
cj
For asking a book
for asking for piracy
cj
also... why do you want one specific book you can't buy, when you have a loooooot of free resources to learn from?
cj
https://docs.djangoproject.com/en/2.2/intro/
cj
https://developer.mozilla.org/en-US/docs/Learn/Server-side/Django too
.
My teacher has learnt Django by reading source code😂
Guillermo
My teacher has learnt Django by reading source code😂
Thats a very good way to do it. Its not for everyone, but still...
.
Does anyone have experience with asyncio?
.
How does sqlalchemy devs deal with migrations?
Guillermo
How does sqlalchemy devs deal with migrations?
With something called alembic, I think
.
Aiopg lib has integration only with sqlalchemy core, but not ORM. That's pity
Anonymous
How to connect to SQL server in djangi
Mirco
How to connect to SQL server in djangi
Look for on your search engine before asking here
Anonymous
I asked here for compact answer..tnku
Charly
I asked here for compact answer..tnku
so, too lazy to read google links?
Anonymous
I gone through links...I have asked here for shortcuts if there that might be experimented by
Anonymous
Tnku
cj
How to connect to SQL server in djangi
Srividya. Here you have a useful link: https://duckduckgo.com/?q=How+to+connect+to+SQL+server+in+django
Anonymous
Tnku
cj
Tnku
can you please write complete english words? thank you
Larry
Who else thinks the django generic views goes against the whole agile concept of working on one feature at a time
Ghorz
when I try to start it with this command: python manage.py runserver 0:8000
python manage.py runserver only will default port to 8000
cj
if you want to list: ListView if you want to get a detail: DetailView if you want to create: CreateView ... and so on...
cj
and you could forget to write the rest of the code you normally write using FBV
Charly
hmmm, can you elabirate @PythonOG ?
Larry
It bundles features together. Take for examble the generic ListCreateView which hundles both Post ang Get all at the same time
cj
you either do GET or POST once per request
Charly
and, yo won work on two thing but the library provide 2 default things
Larry
I know, but the process of developing the api seem like you are creating both features at the same time
cj
uh... API....
cj
APIs are handled differently because of how REST is supposed to work
cj
It bundles features together. Take for examble the generic ListCreateView which hundles both Post ang Get all at the same time
then you mean ListCreateAPIView... that's not Django's core generic view, that's a third-party library concept (DRF)
.
And it makes life easier
Larry
Take for example you have separate stories on your PT for creating a post and a get all. But the generic view has bundled them together how do you go about it.?
Charly
ViewSets are for making things faster wich i think is agile
.
If you want to write true code use something like Spring
Charly
so, you'll start with the default implementation, but you can work in a desired time tuning onle one aspect
Larry
@c0x6A I Get the point...Im actualy new to drf started yesterday.
icute
how to using a variable as the URL namespace ?
icute
path('ldap/<uid>/', views.OpenLDAPDetailView.as_view(), name='openldap-detail'),
icute
function linkFormatter(value, row, index){ uid = value.slice(2, -2) return "<a href='" + "{% url 'openldap:openldap-detail' uid=uid %}" + "' title='打开详情'>" + uid + "</a>"; }
icute
why not working ?
the dark
i need help when i am deployed my django site on aws windows server then website is hosted but static file are not applied.
the dark
plz tell me how to solve this