Do the official Django tutorial
--
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 view this discussion on the web
or 500 or the default nginx
>>>>>> page, let us know.
>>>>>>
>>>>>> On Sat, Apr 11, 2020 at 1:39 PM Jagtar Singh Lakhyan <
>>>>>> jagtar.lakhe...@gmail.com> wrote:
>>>>>>
>>>>>>> sudo sy
And If this doesn't work, I think it is the best course of action to go to
settings.py,
and set the DEBUG=True.
Then the 502 error may disappear and you'll see the Django error log
V V ned., 12. apr. 2020 ob 18:06 je oseba Rok Klancar
napisala:
> Do it;
> It can't hurt
>
> V V n
)
>
> sudo ufw enable
>
> Command may disrupt existing ssh connections. Proceed with operation
> (y|n)? y
>
> Firewall is active and enabled on system startup
>
>
> Do i need to sudo reboot also.
>
> On Sun, Apr 12, 2020 at 9:25 PM Rok Klancar wrote:
>
khe...@gmail.com> napisala:
> sudo ufw status
>
> [sudo] password for wms:
>
> Status: inactive
>
>
> No funky settings as currently i want only to run the app on web, Not even
> installed ssl.
>
> On Sun, Apr 12, 2020 at 9:13 PM Rok Klancar wrote:
>
them.
V V ned., 12. apr. 2020 ob 17:40 je oseba Rok Klancar
napisala:
> Everything seems to be in order
>
> Maybe it's the firewall's fault.
> What do you get when you type
> 'sudo ufw status' ?
>
> V V ned., 12. apr. 2020 ob 16:09 je oseba Jagtar Singh Lakhyan <
>
[Service]
> User=wms
> Group=www-data
> WorkingDirectory=/home/wms/iitians/
> ExecStart=/home/wms/iitiansenv/bin/gunicorn --access-logfile - --workers 3
> --bind unix:/home/wms/iitians/iitans.sock iitians.wsgi:application
>
> [Install]
> WantedBy=multi-user.target
>
>
;>>>> Process: 1652 ExecStart=/usr/sbin/nginx -g daemon on;
>>>>> master_process on; (code=exite
>>>>>
>>>>> Process: 1651 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on;
>>>>> master_process on; (c
>>>>>
&g
Dude, try "sudo systemctl status nginx"
Dne sobota, 11. april 2020 18.53.50 UTC+2 je oseba Jagtar Singh Lakhyan
napisala:
>
> Im trying to deploy django app using nginx & gunicorn but its showing error
>
> sudo nginx -t
>
> nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
>
>
Hello Nouman!
The best place to learn Django is it's official tutorial
(https://docs.djangoproject.com/en/3.0/intro/).
There you will find examples of using Django in web development.
Rok
Dne nedelja, 05. april 2020 14.06.38 UTC+2 je oseba Nouman Mehmood napisala:
>
> hello there,
&g
under
another on a single page (Today's post is on top, yesterday's is bellow the
today's, etc.).
I hope I made my issue clear.
I would be happy, just if you told me, how do you call this shape of a page
in Web Dev jargon.
Have a nice day
Rok
--
You received this message because you
We are using two git branches, one for development and master. When dev
branch is good enough, we merge it to master and then we have a script
which does git pull and restarts uwsgi.
Rok
On Wednesday, February 10, 2016 at 9:50:22 AM UTC+1, Tobias Dacoir wrote:
>
> We've build a sma
ich is being reported as a KeyboardInterrupt
> exception by django.
>
> Cheers
>
> François
>
> On Sep 5, 2014, at 4:03 AM, Rok Jaklič <rja...@gmail.com >
> wrote:
>
> > Hi,
> >
> > on our production environment we get random KeyboardInterr
on page.
Any ideas?
Kind reagards,
Rok
--
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,
Hi, I am getting the following error:
'ascii' codec can't encode character u'\u0160' in position 13: ordinal not
in range(128)
in our production machine running the Django app using Apache+mod_wsgi.
However, the same code works well in development in Eclipse. Is this
somehow related to the
return bundle
Hope this helps, if you want I can include more code details...
Rok
On Sunday, October 20, 2013 4:06:26 PM UTC+2, Sanjay Bhangar wrote:
>
> Hi all,
>
> I'm developing an app using GeoDjango that requires me to create an
> API. Ideally, I would
I was wondering how I could change the default PointField visualization
(the Openstreetmap) in admin so that I could enter simple
latitude/longitude numbers instead of selecting a point on the map?
I looked at this one Latitude/longitude widget for
Hi, I am not a particular evangelist of one or the other but since we use
apache+mod_wsgi for several apps throughout the company, we obviously want
to stick with one, easier for deployment and maintenance.
On Wednesday, October 16, 2013 5:17:35 PM UTC+2, Tom Evans wrote:
>
> On Wed, Oct 16,
Hi Ivan, thanks for the response. No. we are not using gunicorn, just
apache+mod_wsgi.
moreover, I configured WSGIDaemon option for the host to separate it from
the rest of the system and still no luck.
Rok
On Wednesday, October 16, 2013 9:39:28 AM UTC+2, the.pa...@gmail.com wrote:
>
&
I have recently been testing the 1.6b4 tag with a new app we are writing,
using apache and wsgi. However, I could not get rid of the following issue
happening on every request:
...
[Tue Oct 15 12:50:36 2013] [error] [client 127.0.0.1] File
"/home/rok/apps/django-trunk/django/contri
dels.
Any ideas how could I solve this problem?
Kind regards,
Rok
--
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...@googl
Found an answer here:
http://stackoverflow.com/questions/10874675/why-does-django-need-a-database-for-custom-authentication-backends
On Thursday, July 18, 2013 1:12:04 PM UTC+2, Rok Jaklič wrote:
>
> Hi,
>
> if I write custom authentication backend, do I need to create user in
>
Hi,
if I write custom authentication backend, do I need to create user in local
database so that method get_user can find it?
Can I avoid creating user in local database?
Rok
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To u
When executing the "manage.py syncdb" I get the following error:
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Traceback (most recent call last):
File "./manage.py", line 26, in
execute_from_command_line(sys.argv)
File "/home/rok/apps
Hi,
I have a problem writing a Django web app that will work on a
BlackBerry 8520, which comes with the 4.6.2 blackberry OS. This
problem is not reproducible on blackberry OS 5.0 and later where it
works fine.
The problem as I see it is with cookies. For some reason, Django
framework does not
Hi,
does anyone know a way of filtering a QuerySet by a field that was
added through the extra() method?
For example, this is what I would like to do
_list_items = ListItem.objects.filter(list=1).extra(select='SELECT
value AS "type" FROM list_item_optional WHERE
On 23 maj, 21:28, Mike Ramirez <gufym...@gmail.com> wrote:
> On Saturday 23 May 2009 11:53:08 am Rok wrote:
>
> > I am using @login_required decorator, where "I" do not have to write
> > my login view, since decorator does everything "I" want. When
nly started learning it last week, so the
> solution may look a bit dirty in the eyes of seasoned django
> developers, but i am sure it will work.
>
> Have a look at the forms chapter, and read about the
> HttpResponseRedirect to see how to go about doing the redirect.
>
> HTH
pics/auth/
>
> If this doesn't answer your question, please be more specific about
> the context.
>
> On Tue, May 19u, 2009 at 1:44 AM, Rok <rjak...@gmail.com> wrote:
>
> > Hello.
>
> > Is it possible to use user object in login.html when @login_required
> > is u
Hello.
Is it possible to use user object in login.html when @login_required
is used? I want to display login fields only when user is ianonymous.
Thank you.
Kind regards,
Rok
--~--~-~--~~~---~--~~
You received this message because you are subscribed
30 matches
Mail list logo