Hi everyone,
I know there are currently 3 ways to define a model in Django
1) Define it directly in the models.py file
2) Define it directly in a models package in the same directory as your
other app files
3) Define it somewhere completely different and just import the models into
the models.py
I think think the first advice is way off base in two ways.
1) It's not clumsy to have 8 apps if that is the the structure of the
project that makes each part encapsulated and reusable.
2) 30 concurrent users in one app can be more demanding than 1000 in
another. It really depends on what each us
Hi,
If you believe you are ready for open-source contribution, a good start
would be just contributing back to Django.
https://code.djangoproject.com/query?status=!closed&easy=1&stage=Accepted&order=priority
Here you can find "easy" ways to contribute. If you don't feel like you are
still up to t
I'm not sure, but it looks like you are trying to connect to a localhost
which is fine locally but not in production. You probably need to change
your frontend code to route properly. This is all speculation as you have
not shown your application code, I don't think you'll get many good
answers...
Make sure your virtual environment is activated, you have to activate it
each time you create a new terminal.
Also contrary to what someone else said, you can use django-admin anywhere,
while you must be in the correct directory to run the manage.py file
On Sun, Mar 10, 2019, 07:38 abel otugeme
I would be careful how you pass the data on get, somewhere in your front
end code you are probably not passing the data through as you expected.
Instead of using .GET, use .GET.get to get your data. This will either
return the value you want, or none. I think you have made the error of not
passing
What validation does he specifically need? He could probably get away with
writing a few helper functions himself!
On Tue, Feb 5, 2019, 17:50 Miguel Ángel Cumpa Ascuña <
miguel.cumpa.asc...@gmail.com wrote:
> Django tastypie
> good luck!
> https://django-tastypie.readthedocs.io/en/latest/toc.html
I am trying to follow the 4 part channels tutorial, however I am getting an
error on the last part where we run selenium to test against a live server.
It's not the end of the world as I can still run the server with no
problems, however it limits my ability to test which is a shame.
I have the
8 matches
Mail list logo