Learning Django resources

2016-02-17 Thread Robert Dumitru
Hi! Is there any "complete" resource I could use for learning Django, other than "The Django Book"? *I do not like video tutorials* -- 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

Re: Learning Django resources

2016-02-17 Thread Robert Dumitru
Thank you so much! I think I'll go with the official tutorial miercuri, 17 februarie 2016, 18:54:17 UTC+2, Robert Dumitru a scris: > > Hi! Is there any "complete" resource I could use for learning Django, > other than "The Django Book"? *I do not like video t

Re: Accessing Django through ssh tunneling and error to get status

2018-07-13 Thread Robert Edward
Hey, uhm I faced a similar problem lately. Try this in the Settings.py file, Inside the brackets insert an asterisk ✳ It should look something like this Allowed host = [ *]; Then try again. On Thu, Jul 12, 2018, 7:34 PM Dikus Extrange wrote: > Hi Jason. Thank you for your reply. I tried with

Beginner problem with sqlite3 db

2018-09-17 Thread Robert Latoszewski
Hi, I'm going through "Writing your first Django app, part 2" link and I have problem with sqlite3 db - I have created database tables with migrate command (got db.sqlite3 file in my project folder) and I would like to di

Re: favicon.ico

2018-09-30 Thread Robert Edward
Yes and confirm if you linked your favicon directory correctly on your page On Sun, Sep 30, 2018, 9:06 PM Vishvajit Pathak wrote: > Prajesh, > > Please provide complete context of the issue you are facing. > > Assuming you are getting 404 HTTP ( "GET /favicon.ico HTTP/1.1" 404 - ) > error code :

Blog app Error: NoReverseMatch at /post/14/

2018-10-11 Thread Robert CR
I am making a blog app for my django website. Right now i'm making a comment feature, but when i try to view a post and the posts comments i get an error. *The Error* [image: Udklip.PNG] -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-11 Thread Robert CR
I think it has something to do with my urls.py and views.py *urls.py* from django.urls import path from .views import ( PostListView, PostDetailView, PostCreateView, PostUpdateView, PostDeleteView, UserPostListView, UserProfileListView, UserProfilePostListView ) fro

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-11 Thread Robert CR
here is the template file. *add_comment.html* *{% extends "blog/base.html" %}{% load crispy_forms_tags %}{% block content %}{% csrf_token %} Comment {{ form|crispy }} Post Comment! {% endblock content %}* -- You r

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
i fixed the error, thanks. But there is already a new one when i try to add a comment. D: [image: Udklip.PNG] -- 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 d

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
If i do that i get another error: [image: Udklip2.PNG] -- 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 thi

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
then a new error pops up: [image: Udklip3.PNG] -- 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

Re: Blog app Error: NoReverseMatch at /post/14/

2018-10-12 Thread Robert CR
is it because i have forgotten to import CommentForm? -- 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

Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-16 Thread Robert Fox
I am working on a project using Django and Channels 2.1.1. Everything is working splendidly on my home PC but when I deploy to AWS I get the error: 'WebSocket connection to 'ws://IP/ws/lobby/' failed: Error during WebSocket handshake: Unexpected response code: 404 ' which originates from the lin

Re: Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-17 Thread Robert Fox
Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 where Daphne is configured. This has fixed my 404 handshake error and now I have a handshake error 500. Any thoughts? On Friday, November 16, 2018 at 10:35:07 PM UTC-8, Andrew Godwin wrote: > > You cannot use gunicorn to ru

Re: Django with Channels 2.1.1 Error During WebSocket handshake 404

2018-11-17 Thread Robert Fox
I managed to get it working, turns out I forgot to install and configure Redis. I now have a working web app with channels. On Saturday, November 17, 2018 at 5:29:30 PM UTC-8, Robert Fox wrote: > > Thank you Andrew, I have now configured Nginx to route /ws/ to port 9000 > where

Good Django libraries to read to really understand class-based views?

2021-01-11 Thread Robert F.
Are there any Django libraries that make extensive use of class-based views that I might study if I want to gain an in-depth understanding of how to use them? The Django documentation is OK at explaining what they are and how they work but most of the examples are very trivial in nature. I'd lik

Re: Good Django libraries to read to really understand class-based views?

2021-01-12 Thread Robert F.
Thank you to everyone who took time to answer my question! I will check out the resources you mentioned. On Tuesday, January 12, 2021 at 7:21:33 AM UTC-8 David Nugent wrote: > Robert, > > I think the ultimate resource you can use on this beyond the documentation > is the django

How to programmatically set the model when using Django CreateView?

2021-01-29 Thread Robert F.
I am trying to programmatically set the model for a Django class-based view that inherits from CreateView and displays a form for creating a 'member' object. My problem is that my template is not displaying the form itself. Note that I override the 'get' method to determine what model the view

Why is this acting like a permanent redirect?

2021-02-22 Thread Robert F
I have a Django view that I redirect a user to after they login: # settings.py LOGIN_REDIRECT_URL = 'login-redirect' # account/urls.py urlpatterns = [ path('', include('django.contrib.auth.urls')), ... ] # home/views.py from account.models import Member d

Re: Why is this acting like a permanent redirect?

2021-02-23 Thread Robert F
Thanks David. I'll give this a try. On Monday, February 22, 2021 at 4:56:11 PM UTC-8 David Nugent wrote: > Hi Robert, > > To point out the most likely cause of the issue: LOGIN_REDIRECT_URL is a > url, not a route name. > > Possibly could use a reverse_lazy('login-

Re: CSS not linking with HTML

2021-06-02 Thread Robert Edward
You are missing a closing (') when loading style.css On Fri, May 28, 2021, 21:39 sukhy gill wrote: > Dear Frnds > I am unable to link CSS with HTML > HTML working but CSS not working inside the .html file with the help of > LINK in tag > > I am using thefollowings:- > Setting.p

Re: CSS not linking with HTML

2021-06-02 Thread Robert Edward
Plus is it 'syle' or 'style' On Wed, Jun 2, 2021, 20:26 Robert Edward wrote: > You are missing a closing (') when loading style.css > > On Fri, May 28, 2021, 21:39 sukhy gill wrote: > >> Dear Frnds >> I am unable to link CSS wit

Re: Basic questions about scaling a Django web app. (e.g. AppEngine solves all problems?)

2021-08-24 Thread Robert Seghedi
Just go for Cloudflare Pages. It s much more easier În mar., 24 aug. 2021 la 04:30 cseb...@gmail.com a scris: > I have a simple web app (bighelp.business). I anticipate > the number of users to steadily increase. > > I'm having nightmares of having to guesstimate how much > extra RAM and cores

Save partial state of a page when reloading

2019-10-11 Thread Robert Levasseur
Hi, I'm very new to Django so this might be a silly question, but I'm having an issue with the filter functionality on my site's search page. I am using the django-haystack module to interface with the Whoosh search engine, and it functions by reloading the page while sending the query as a GE

Re: Save partial state of a page when reloading

2019-10-13 Thread Robert Levasseur
ted, you can select them again in the > response html. > 3. Use javascript to remember what category the user selected, and render > the selection when the page reloaded. > > On Sat, Oct 12, 2019 at 5:07 AM Robert Levasseur > wrote: > >> Hi, >> >> I'

Why can't Nginx find Django's static files?

2020-02-20 Thread Robert F.
I'm trying to understand how static files are served up by Django using a project I've created on my Mac using Django 3, Gunicorn, and Nginx. The website serves up templates correctly except that the templates can't see my CSS stylesheet. When I go to a page, for example ```127.0.0.1:8000/app

Re: Why can't Nginx find Django's static files?

2020-02-21 Thread Robert F.
Thanks but I'm not interested in using Whitenoise. On Friday, February 21, 2020 at 6:22:40 AM UTC-8, Jody Fitzpatrick wrote: > > Take a look at whitenoise for django, this should help you. > > On Thursday, February 20, 2020 at 11:35:51 AM UTC-5, Robert F. wrote: >> >

Re: Why can't Nginx find Django's static files?

2020-02-21 Thread Robert F.
On Thursday, February 20, 2020 at 8:52:31 AM UTC-8, Stephen J. Butler wrote: > > Django only serves up static files itself when run using runserver. This > is meant for development and not production use. When you run it through > gunicorn the Django framework won't serve up static files. That'

Question about media in outside forms

2009-02-09 Thread Robert Ramírez Vique
form (with a template tag), don't know if this is possible. I mean, the declaration of the media and this is automatically included just when needed. thanks, Robert Ramírez Vique Computer Science Engineer --~--~-~--~~~---~--~~ You received th

Deploying Django on ISS with Python 3.3

2013-07-10 Thread Robert Jonathan Šimon
How can i deploy Django with Python 3.3 on windows? it would be great if on IIS -- 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...@googleg

Re: Python 2.7 + Django 1.4 + apache 2.4

2013-07-16 Thread Robert Jonathan Šimon
I have one question what must be in wsgi.py? Dne úterý, 16. července 2013 1:11:48 UTC+2 maiquel napsal(a): > > How to set up django on Apache > > I'm using django 1.4 > and apache 2.4 > and Python 2.7 > My configuration is well > > in httpd.conf > > WSGIScriptAlias ​​/ C :/ xampp / htdocs / My_blo

Django on Windows server 2008

2013-10-03 Thread Robert Jonathan Šimon
Have someone figure it how can someone deploy Django 1.5 with Python 3.3 on Windows Server 2008 R2? Because i search internet i think 4 months ago, and i didnt found anything working. So How can it be done? -- You received this message because you are subscribed to the Google Groups "Django us

How to have Django 1.5 with Python 3.3 on Windows server?

2013-10-06 Thread Robert Jonathan Šimon
I want to deploy my project on windows server, but i dont know how,. Can anyone please help me? -- 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+uns

Django 1.5 or Django 1.6 with python 3.3 on windos Server 2008

2013-11-07 Thread Robert Jonathan Šimon
I search for how can i do this, but i didnt find anything. Can you help me? It would be great if it can be on IIS 7.5 -- 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 emai

Re: Django 1.5 or Django 1.6 with python 3.3 on windos Server 2008

2013-11-07 Thread Robert Jonathan Šimon
I still dont now how i can install Django into IIS. On Thu, Nov 7, 2013 at 11:21 AM, Timothy W. Cook wrote: > Did you see this: > https://docs.djangoproject.com/en/1.6/howto/auth-remote-user/# > > On Thu, Nov 7, 2013 at 8:18 AM, Robert Jonathan Šimon > wrote: > > I se

Re: Django 1.5 or Django 1.6 with python 3.3 on windos Server 2008

2013-11-07 Thread Robert Jonathan Šimon
OK thank you, i need a real server, because a already created aplication (a part) and i want to deliver to the internet. So best solution is Apache. How can i install it with django 1.5 and python 3.3? On Thu, Nov 7, 2013 at 1:40 PM, Mike Dewhirst wrote: > On 7/11/2013 9:34pm, Robert Jonat

Re: Django 1.5 or Django 1.6 with python 3.3 on windos Server 2008

2013-11-09 Thread Robert Jonathan Šimon
There is no binary for Python 3.3 and windows. Where can i get it? Dne čtvrtek, 7. listopadu 2013 15:38:03 UTC+1 Harry Houdini napsal(a): > > You will want to use mod_wsgi: > > https://code.google.com/p/modwsgi/ > > > On Thursday, November 7, 2013 8:33:12 AM UTC-5, Robert Jo

Re: Django 1.5 or Django 1.6 with python 3.3 on windos Server 2008

2013-11-09 Thread Robert Jonathan Šimon
I mean for mod_WSGI, when i have Python 3.3 and windows Dne sobota, 9. listopadu 2013 10:45:47 UTC+1 Robert Jonathan Šimon napsal(a): > > There is no binary for Python 3.3 and windows. Where can i get it? > > Dne čtvrtek, 7. listopadu 2013 15:38:03 UTC+1 Harry Houdini napsal(a): &g

Re: Django 1.5 or Django 1.6 with python 3.3 on windos Server 2008

2013-11-09 Thread Robert Jonathan Šimon
sal(a): > > On 9/11/2013 10:23pm, Robert Jonathan Šimon wrote: > > I mean for mod_WSGI, > > I have found binaries here for quite a few Python bits and pieces from > time to time ... > > http://www.lfd.uci.edu/~gohlke/pythonlibs/ > > Good luck > >

problem with custom Permission

2013-11-12 Thread Robert Jonathan Šimon
I have models, and now i add custom permission: class Menu(models.Model): name = models.CharField(max_length=30) podmenua = models.BooleanField() poradi = models.CharField(max_length=2) url = models.CharField(max_length=30) def __str__(self): return self.name def get_absolute_url(self): return "/%

Upgrading from 1.5 to 1.6 - problem with Apache

2013-11-14 Thread Robert Jonathan Šimon
When i upgraded Django from 1.5.1 to 1.6, sudenly Apache gives me this bunch of errors. So i tried manage.py runserver adn it worked fine. When i delete 1.6 and instal 1.5.5 it is all fine and all is working. [Thu Nov 14 17:34:23.601025 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.2

Re: Upgrading from 1.5 to 1.6 - problem with Apache

2013-11-14 Thread Robert Jonathan Šimon
cation timeline: > https://docs.djangoproject.com/en/dev/internals/deprecation/#id3 > > On Thursday, November 14, 2013 12:57:48 PM UTC-5, Robert Jonathan Šimon > wrote: >> >> When i upgraded Django from 1.5.1 to 1.6, sudenly Apache gives me this >> bunch of errors. So i tried ma

HTML 5 input

2014-10-01 Thread Robert Jonathan Šimon
Is there an upside downs of using new HTML inputs? Why is Django using old "type="text"" in field DateTimeField, if Django can use "type="datetime-local"". So why use old and obsolete way? I am just curious. -- You received this message because you are subscribed to the Google Groups "Django u

initial dta for model in Django 1.7 or newer

2014-12-25 Thread Robert Jonathan Šimon
Hi, When i googled for this problem a found out, that with migrations in Django 1.7, there is new way how it should be done, but i didnt understand it how. Can anyone explain me the new way how to do it? Thanks a lot. -- You received this message because you are subscribed to the Google Groups

Re: initial dta for model in Django 1.7 or newer

2014-12-26 Thread Robert Jonathan Šimon
Hi, I am very sorry, but I don't understand russian. Can you answer me in english? And I am using Python 3.4. Dne 26. 12. 2014 14:30 "Валерий Бовсуновский" napsal(a): > > > четверг, 25 декабря 2014 г., 18:06:35 UTC+3 пользователь Robert Jonathan > Šimon написал: >

Can i Use history.js in Django?

2013-12-01 Thread Robert Jonathan Šimon
Hello everyone, I want to use history.js on one page in my website, where there will be a photo gallery, and I want to know before I will write the code, if it can be done, and if so is there any problem with it? -- You received this message because you are subscribed to the Google Groups "Dj

Using SSL and Apache on Windows together

2014-02-09 Thread Robert Jonathan Šimon
I was trying to find something on the web, but i didnt found anything. I want to use HTTPS with my Django project on Windows server. I have installed Django 1.6 a Python 3.3 64Bit. How can i configure SSL connection, and are there any problems with it? Thank for all the help -- You received th

Hide default permission in Django admin form

2014-05-06 Thread Robert Jonathan Šimon
I looked up the answer (http://stackoverflow.com/questions/6062655/remove-or-hide-default-permissions-from-django), it worked, but suddenly it stopped working, i am not sure, what i did or if I reinstaled something. I have this solution: from django.contrib import admin from django.contrib.aut

DEBUG_TOOLBAR

2018-07-16 Thread robert anthony perez araujo
Buenas amigos, alguien me puede ayudar con algo de DEBUG_TOOLBAR necesito que no utilice el Jquery que trae por defecto... Espero me puedan ayudar con eso, he leido sobre una configuracion pero donde debo hacerla? -- You received this message because you are subscribed to the Google Groups "Dja

Re: DEBUG_TOOLBAR

2018-07-16 Thread robert anthony perez araujo
listo solo coloque en el settings de mi proyecto la siguiente configuración. DEBUG_TOOLBAR_CONFIG = { 'JQUERY_URL': '', } El 16 de julio de 2018, 9:36, robert anthony perez araujo < io.perez.rob...@gmail.com> escribió: > Buenas amigos, alguien me puede ayudar con a

RE: Easiest front end JavaScript framework to integrate with a Djangobackend?

2018-11-27 Thread Sir Robert James Patterson
What Alfred said . . . . .and than some 😉 https://django-angular.readthedocs.io/en/latest/ Sent from Mail for Windows 10 From: Alfredo Sumague Sent: Tuesday, November 27, 2018 8:13 PM To: django-users@googlegroups.com Subject: Re: Easiest front end JavaScript framework to integrate with a Dj

Odd behaviour of DjangoJSONSerializer when serializing datetimes with/without microseconds

2016-03-10 Thread &#x27;Robert Kirberich' via Django users
Hi, I stumbled across this yesterday while trying to figure out why some of my tests would sometimes fail when serializing and deserializing datetimes to JSON. DjangoJSONSerializer only includes the milliseconds in the encoded string if the original datetime has a non-zero microsecond value -

<    1   2   3   4   5