Re: Missing 'SITE_ID' breaks first Django app
What is kills the whole app supposed to mean? Just pulling this out of thin air, but do you have a record in your database (sites) that corresponds to your SITE_ID setting (when you add it) Le 6 juil. 2012 13:43, "Melvyn Sopacua" a écrit : > On 6-7-2012 7:38, DF wrote: > > > Hi. I just delayed my first Django app via Heroku and I'm having an issue > > that's proving very difficult to resolve. I have django-registration and > > profiles installed and apparently something runs afoul unless the > > 'django.contrib.sites', and SITE_ID is removed from settings (this wasn't > > the case prior to deployment). > > But what is the error here? Site doesn't display? server errors? > -- > Melvyn Sopacua > > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Re: Missing 'SITE_ID' breaks first Django app
On 6-7-2012 7:38, DF wrote: > Hi. I just delayed my first Django app via Heroku and I'm having an issue > that's proving very difficult to resolve. I have django-registration and > profiles installed and apparently something runs afoul unless the > 'django.contrib.sites', and SITE_ID is removed from settings (this wasn't > the case prior to deployment). But what is the error here? Site doesn't display? server errors? -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
Missing 'SITE_ID' breaks first Django app
Hi. I just delayed my first Django app via Heroku and I'm having an issue that's proving very difficult to resolve. I have django-registration and profiles installed and apparently something runs afoul unless the 'django.contrib.sites', and SITE_ID is removed from settings (this wasn't the case prior to deployment). Unfortunately, when content is submitted from a user to be displayed. I'm getting the following error:: TemplateSyntaxError at /Caught AttributeError while rendering: 'Settings' object has no attribute 'SITE_ID'. Adding these back just kills the whole app. Looking to see if anyone had any insight or advice on how to resolve this. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/TmDzJJKawfYJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.