Jimmies San
my two satoshies
syam
it will have chat , an activity management system , Task manager and so on.
Jimmies San
if a lot of load/users and multitenant then microservices. every service its db
Jimmies San
i avoid monolithic. modular is better
syam
server type is not an issue has around 2000+$ of aws credits,
syam
the site must be fast. content delivery also should not lag.
syam
have a cloudflare buisness licence and auth0 licence for authentication purposes
syam
need suggestions from django experts on how to make it work the best way without wasting too much resources
Jimmies San
pay consultant(s) if is so important. dev/ops enginner. so you will be sure ;)
syam
cant do that. due to some restrictions. need to devolep it in house
Jimmies San
alone? build a team.
Jimmies San
back front db aws backup security auth
Jimmies San
very a lot
syam
i have a team. 2 scrappers to scrap content. a react native dev to do the front end. some content writers . and so n
Jimmies San
good
syam
so any suggestions @JimmySan
inchidi
how much users (estimation) will access it btw? usually new deployed web doesnt need big instance yet
syam
will have around 1000-2000 user accounts. doing multiple tasks.
Jimmies San
1/2k are few. it s ok . less complex than i thought before
syam
it will be scaled in 3 4 months .
syam
depending on the initial response.
Jimmies San
to scale if you do a better job in start phase is easy
Jimmies San
but it depends from time/budget too
syam
thanks guys for the info
DragonMachine
will have around 1000-2000 user accounts. doing multiple tasks.
Aws ia providing.. Db as a device ... Postgres .. some of my team mates had used it. And they told me it's cool .. have a look at it as well
inchidi
it will be scaled in 3 4 months .
i will suggest start from small then upgrade rather than start with big server. big server doesnt always means faster response
Jimmies San
usualltly you create a poc or mvp and if it works ... refactor with money 😎
syam
cool
syam
thanks guys
Jimmies San
like a prototype
inchidi
thanks guys
you're welcome
Django Bot
>> Links - Politico public Slack chat system - Common Regular Expressions for Django URLs | Coding For Entrepreneurs
Maqbool
Any django projects? Please provide links. Yesterday i asked but i couldn't able to open the link provided by some of our good heart. Please help me by sending me a good django project link
inchidi
https://github.com/rosarior/awesome-django/blob/master/README.md
М
Hi everyone
М
I have such situation
М
I have a model with two field, and I want that when I adding new record to database in admin, if I type text in thw first field, for example type name, in the second filed some text will automatically apper, and if I want I can change it(or leave) and save a post
М
How can I do this?
М
i think js is better solution
Jimmies San
model is on the backend side ... and with javascript you don't have full control.. it's just clientside control... you can break it easily, just using chrome devtools... you don't want that :\
Django Bot
>> Links - Guide to Django E-Commerce
Karim Norman
hello, I use django swagger and my endpoint (a listApi) let you get the list filtering by status. The queryparam status can be used many times in the query like status=draft&status=void. How I can get the status inputfield in the swagger page?
inchidi
custom?
Karim Norman
Yep
Django Bot
>> Jobs - Senior Django Developer
inchidi
Yep
can you share the code of it?
Django Bot
>> Blogs - Equivalents in Python and JavaScript. Part 3
Django Bot
>> Links - How to use Django, PostgreSQL, and Docker - William S. Vincent - python - How to replace Django's primary key with a different integer that - Model field reference | Django documentation | Django - python - Generate unique id in django from a model field - Stack Overflow
Django Bot
>> Links - Django project optimization guide (part 1)
Rajat
Is there any good enough API for compiling and running our codes in several languages so that we can add an evaluation mechanism on our own client ?
José Miguel
Hello, I need to show an image in a template that is stored in the middle directory, I have seen that the tag {{user.userprofile.image.url}} is used but it is not working, any suggestions?
Anonymous
hi every one howcan load a static file in django
Anonymous
i make a back ground pic butdjango cant load it
Anonymous
how can fix it ???
Maz
How did you reference your static folder in settings?
Anonymous
How did you reference your static folder in settings?
STATIC_URL = '/static/' STATIC_ROOT = os.path.join(BASE_DIR,"static") STATIC_URL = '/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR,'static/assets'), ]
Maz
[Managing static files (e.g. images, JavaScript, CSS) | Django documentation | Django] is good,have a look at it! https://docs.djangoproject.com/en/2.0/howto/static-files/
Maz
Compare against that...or get docs for your version of Django
Maz
from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
Anonymous
from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
################################################################################ urlpatterns = [ url('admin/', admin.site.urls), url(r'', include('web.urls')), ] if settings.DEBUG: urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Anonymous
Django Bot
>> Links - Building Modern Applications with Django and Vue.js - 我如何使用 Django + Vue.js 快速构建项目 - GitHub - django/channels: Developer-friendly asynchrony for Django
Anonymous
hi
Anonymous
why i cant send my code??????
Rust
why i cant send my code??????
Please, read chat rules (in pinned message) - you'll see how to share code messages
Kori
Try Removing the rel=stylesheet from the href tag and write it outside the jinja templating
Kori
{%python code%} {%endpythoncode%} That kinda thing
Kori
In line 13,14 and 20
Jimmies San
whats jinja template
sorry man but: or study before ask or I ban you . its obvious you have no idea what django is. is hard to help in this kind.
Jimmies San
"no time to read doc: give me the code" meh
Jimmies San
pay someone 😜