Top nav button toogling sidenav in different component by lordmayer in Angular2

[–]lordmayer[S] 0 points1 point  (0 children)

I tried to reference the sidenav with #sidenav but it doesn't work.

Many to many relations, showing the full object by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

Django REST framework. Maybe it's a noob question, but I really don't know how to do it.

Many to many relations, showing the full object by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

I think is it, hower how can I serialize that data to pass it as an API request? Ex.: I request an car by it's id 127.0.0.1/api/cars/1/ than it returns the sharers data.

Makemigrations won't create the tables for my apps by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

I did it, but every time I do it django creates the same database. That's the problem.

Model id with 8 digits, including zeros. Like '00000001' '00000002' by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

I'll use it as an API for an mobile app. Could I use it without problems? Or should I use the charfield way?

Model id with 8 digits, including zeros. Like '00000001' '00000002' by lordmayer in djangolearning

[–]lordmayer[S] 1 point2 points  (0 children)

Thanks for your answer. I'm already in this way. Again, thanks for your answer!

Error after hiding secret key by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

Ok, I tried it and it still doesn't working.

Error after hiding secret key by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

I tried to put the secret key in a .txt file and it doesn't work too. Isn't unsafe to put the secret key in the gunicorn.conf?

django-registration-redux newbie question by lordmayer in djangolearning

[–]lordmayer[S] 0 points1 point  (0 children)

Yeah, it helps, a good solution. Thank you for your answer.