Re: Admin Page Customization Questions
On Jul 15, 2014, at 17:59, G Z wrote: > > I have a few questions, is it possible to template the admin page? Yes, you can copy the default admin templates and change them. It is described here: https://docs.djangoproject.com/en/dev/intro/tutorial02/#customize-the-admin-look-and-feel Greetings, -- "Good programming is not learned from generalities, but by seeing how significant programs can be made clean, easy to read, easy to maintain and modify, human-engineered, efficient, and reliable, by the application of common sense and good programming practices. Careful study and imitation of good programs leads to better writing." - Kernighan and Plauger, motto of 'Software Tools' -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/C9D025B7-E683-44B2-888F-00A2FF23AA90%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.
Re: Django Admin DB Error only when trying to delete an inserted record delete.
On Jul 16, 2014, at 23:14, G Z wrote: > So I'm still running in to issues using a prexisting database, ive worked out > almost all of the issues I'm following your posts with interest, since I will be writing a Django app soon which also has to use a pre-existing database. Greetings, -- "You can't actually make computers run faster, you can only make them do less." - RiderOfGiraffes -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9EF371D0-F129-447B-9292-7DFA24726BB4%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.
Re: cx_Oracle - Django ORM - Reference Count Increase
On Dec 27, 2014, at 22:23, Anurag Chourasia wrote: > I have a Long Running Python Process that uses Django ORM against Oracle > database. > The size of the process keeps on increasing steadily. Are you running in Debug mode? http://stackoverflow.com/questions/1339293/python-memory-leak-debugging http://www.dimagi.com/django-orm-memory-leaks-in-debug-mode-73877/ Greetings, -- "You can't actually make computers run faster, you can only make them do less." - RiderOfGiraffes -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/41BEBFB0-13D5-427B-9FBF-328604CA1AAC%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.
Re: Need some advice on how to go about building a real time web app.
Hi, A little side-note... > That then led me to learn how much I can shift items like validation to the > client side and leave Django to > do the rest. Even if you do client side validation, you still have to do it on the server side too, to protect your application from malicious attacks. Greetings, -- "You can't actually make computers run faster, you can only make them do less." - RiderOfGiraffes -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/E7ED8C28-6715-4D9D-B11A-FC047E52C854%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.
Re: Django deployment
Hi Hugo, > I keep hearing that Django deployment is unnecessarily difficult. Who says this? And what are the reasons they give for it? > For a website with very little traffic, and for somebody who's new to it all, > what is the best way to deploy? And how should I go about deploying! I can tell you how I do it, which is not necessarily the simplest way nor especially suited to low traffic. But it's not that hard. On the server machine, I install nginx, gunicorn, django and supervisor. Nginx will be the frontend, gunicorn will be the webserver, django is the application server, and supervisor will be used to start/stop/restart the web application. I basically did the same as Shawn. In my supervisord.conf I have these lines: [program:myapp] command=/usr/local/bin/gunicorn myapp.wsgi -b 127.0.0.1: directory=/wwwapp/myapp/my environment=PATH="%(ENV_PATH)s:/usr/local/bin" user=root autostart=true autorestart=true stdout_logfile=NONE stderr_logfile=NONE I also wrote a blog article about this subject: http://www.michielovertoom.com/freebsd/flask-gunicorn-nginx-supervisord/ which uses Flask as an example, but as Shawn said, it's easy to plug in your Django app instead. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6DFD6635-480E-43A1-B7CC-2C5FA826185C%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.
Re: New on Django and applications
> On 2015-12-16, at 11:49, Baptiste Guillaud > wrote: > > I must learn this framework in a first time Try https://docs.djangoproject.com/en/1.9/intro/tutorial01/ Greetings, -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/902C7B8A-57EF-4260-827E-9B6808D8F898%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.
Re: a design about cache(using redis) , and some problem about it
> On 2016-04-10, at 14:04, Xin Liu wrote: > > show top 100 of student's achievement MySQL query to get the 100 students with best achievements: select student_id, student_name, student_score from Students order by student_score desc limit 100 Greetings, -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/81DB60A6-F6EA-4FCE-827D-F2C381D57918%40xs4all.nl. For more options, visit https://groups.google.com/d/optout.