Maz
Anyway, I've deleted the migration files.
How do I supply a default value for this school field, given that School.Id is an integer?
inchidi
Maz
It still wants a default value for the existing non-nullable fields.
Val
hey guys please what is the command to drop all tables in a database in heroku postgres?
inchidi
inchidi
simply enter the id of School
Maz
How?
Tried a string...says the foreign key field is an integer
Maz
Tried '3'...lmao...failed too
inchidi
makemigrations >> option 1 set default >> enter 1
inchidi
enter 1 as int not str tho
Maz
Okay...
inchidi
Val
Django Bot
>> Links
- Web API performance: profiling Django REST framework
- Optimizing slow Django REST Framework performance
Maz
Is it possible to edit the admin template, like give it some CSS and new UI effects?
Maz
First of all where is the admin template located?
Maz
Okay..
Django Bot
>> Links
- idlesign/pytest-djangoapp: Nice pytest plugin to help you with Django plugg
- Guide to Django E-Commerce (Bonus: a Wagtail Shop Tutorial) - Snipcart
- The Right Way™ to do Serverless in Python (Part 2) – IOpipe Blog
Django Bot
>> Links
- mirumee/saleor: An e-commerce storefront for Python and Django
- The Right Way™ to do Serverless in Python (Part 2) – IOpipe Blog
Django Bot
>> Links
- A Django Async Roadmap - Aeracode
Django Bot
>> Links
- How to use Django, PostgreSQL, and Docker - William S. Vincent
- Django for Beginners
- How to Use RESTful APIs with Django
Anonymous
José Miguel
Hi, everybody. Can I define a start value for a attribute model.AutoField() type?
José Miguel
Thanks bro!
Meera
hi
Meera
i have created a simple django app
Meera
i dint use virtualenv
Meera
now i want to host it on heroku
Meera
how can i do that....i havent used virtualenv....is it okay? or what should i do
inchidi
inchidi
you still need to provide requirements.txt tho
Meera
now i know ...heroku needs postgress...how can i change my database in djanog app
inchidi
Anonymous
How can I Uninstall Django
Anonymous
I wrote “ pip uninstall Django”
Anonymous
anyone know
inchidi
$ python
>>> import django
if it throw error then django removed
Cool
Pip freeze
inchidi
oh yeah ^ better suggestion
Cool
Pip freeze show you all installed library
Anonymous
* gunicorn.service - gunicorn daemon
Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-07-13 22:03:08 UTC; 24min ago
Anonymous
nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2018-07-13 22:23:54 UTC; 2min 31s ago
Anonymous
both of them runturly but when i go in my domain adress have no anything
Anonymous
why ?
Jimmies San
why ?
are them configured?
share your conf [of both] using dpaste
Anonymous
Hello, example the django vs react
Anonymous
Anonymous
my Venv = home/majid/intec_site
(source home/majid/intec_site/bin/activate)
Anonymous
my toturial :https://www.digitalocean.com/community/tutorials/how-to-set-up-django-with-postgres-nginx-and-gunicorn-on-ubuntu-16-04
Django Bot
>> Links
- timakro/superfsmon: Supervisor plugin to watch a directory and restart prog
Jimmies San
remove http:// from proxy_pass value
Jimmies San
check this http://docs.gunicorn.org/en/stable/deploy.html
Anonymous
Jimmies San
Just this
it's the first error i see, maybe something other. try with this before. step by step, so you can turn back if wrong
Jimmies San
Just this
check this and add proxy_pass parameters too
http://docs.gunicorn.org/en/stable/deploy.html#id5
Anonymous
Karim Norman
question about the DRF Token. Is that token secure enough or you guys advice to switch to JWT? (Just for security purpose)
Jimmies San
wait check this out https://stackoverflow.com/questions/31600497/django-drf-token-based-authentication-vs-json-web-token
Jimmies San
and here http://www.django-rest-framework.org/api-guide/authentication/#json-web-token-authentication
Jimmies San
i like JWT a lot
Anonymous
Winamba
Hhjgh
Winamba
Jkbkblñhmjjlkh
Klim
Hello, can somebody help? I have graphene and Django. I have to resolve graphene.List of enum members. How?
Maz
@Inchidi is the resident guru :)
Anonymous
Abdulmateen Tairu:
Who is in need of django developer.
A website developer..
Notify or message me
Anonymous
Anonymous
Website
Anonymous
Hardly anyone will contact you here I suppose
Anonymous
👍
Anonymous
Anonymous
😂
Abhi
Anonymous
hi evrey one i locking for a good videos tutorial for django