JZA
https://github.com/jczic/MicroRESTCli
JZA
this is using micropython
JZA
https://www.youtube.com/watch?v=Kqnw9jvceSg
Anonymous
Thanks alot, this is really helpful.
My major issue is how to connect ESP32 to a Django web server.
Anonymous
hi guys ı have 2 project , ı wanna use same database 2 project , can ı do ?
Hari
How to write test cases in python
Hari
Can any one send any website or videos
Viktor🔮
Viktor🔮
🙈
Luis
Luis
That's your best bet I guess, it pretty much the DRY way
Luis
It's**
Luis
If you put your business logic in your views or serializers you'll be attach to only those places, what if you want to use pieces of certain business logic in other places, you won't be able that way, unless you repeat code, and we all know that's not our way to do things
Luis
But if you put your business logic in your models/managers or services (either way it's dry, I just like more the Django way and that is models/managers) you'll be able to stay dry and will be easily maintainable and easy to test
Luis
@sleonardoaugusto
krishna
Can any one suggest me python django e - commerce website.
Wannabe
hey guys..
Wannabe
https://www.reddit.com/r/django/comments/eojt6e/design_a_model/
Wannabe
please help me in this..
Naruto
Anyone who use to do coding on leetcode ?
Leandro
good morning people ...
I have a url / product / add / for example, then I can do it and compare it with request.path, ie if (request.path == '/ product / add /') ... which changes the title text, this in the template. However, I have a URL / product / 1 / change /, how to compare this with request.path, where number 1 is an ID and will it always change?
Leonardo
@isasiluispy thats what i did https://github.com/sleonardoaugusto/unyhosp-api/blob/master/unyhosp/core/api/uti/serializer.py#L22
Leonardo
I've created a UTIService class in utils.py to handle business logic
Nitikesh
After adding @models.permalink
I got 'Attribute Error': django.db.models.has no attribute permalink.
How to fix it
PV
PV
Anonymous
hii everyone i am learning django and inbetween i got an error i.e
Anonymous
i am learning through djangogirls.org basic tutorials . IN that we created app and included path for url.py of that app but after setting up . app is displaying at running of server but when i m trying to access admin/ it is showing page not found
Anonymous
could someone help??
Anonymous
do you migrate your model??
Anonymous
sorry but does it matter for running admin
Anonymous
why
Anonymous
admin is a app
Anonymous
you should migrate for access to it
Anonymous
ok i will try
Anonymous
yes
Anonymous
ya i did python3 manage.py makemigrations admin
Anonymous
but still not found
Anonymous
not make migrations
Anonymous
just
Anonymous
python3 manage.py migrate
Anonymous
ohh i m new for it..i will see
Anonymous
migrations is created for admin page defacultly by django
Anonymous
you should makemigrations just for your costum models
Doragonsureiyā
Anonymous
Anonymous
Mirco
Anonymous
thanks
you can send in my pv
Anonymous
ok
Mirco
Doragonsureiyā
im sorry im new
Read the rules before any activity: @PythonRules
Anonymous
Nitikesh
Share code
Thanks bro, but I have sorted out the bug
Philip
please help the guys, when submitting the form there is a redirect and the object is created, but ajax does not work. What could be the reason
Philip
here is the code : https://del.dog/ugnawefeqi
krishna
Bahadır
hi
Bahadır
/ for conf in settings.TEMPLATES
File "C:\Users\Bahadir\Envs\sevindir_project\lib\site-packages\django\conf\__init__.py", line 76, in getattr
self._setup(name)
File "C:\Users\Bahadir\Envs\sevindir_project\lib\site-packages\django\conf\__init__.py", line 63, in _setup
self._wrapped = Settings(settings_module)
File "C:\Users\Bahadir\Envs\sevindir_project\lib\site-packages\django\conf\__init__.py", line 161, in init
raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Bahadır
does anyone know about this error
Mirco
Mirco
Pretty clear
Mirco
Into your settings file
Bahadır
I got this error after leaving development and product environment
Mirco
Bahadır
is available in the file Secretkey
Ganesh R
Guys need help for Django deployment?
Mirco
Ganesh R
Centos 7+Apache 2.4 +Python 3.7+Django 2.2.7 install setting working with runserver port but unble to work with Apache web pages show forbidden
Cesar
Ganesh R
Ganesh R
Ganesh R
User
Account created from cpnel user ecard
Ganesh R
mod_wsgi installed
V@RG..
someone who develops in angular??
Mirco