Hi all,
I just realised my error, so no worries.
In my 'polls/urls.py', I am supposed the specify the value of the
parameter, 'app_name', as 'polls'.
Instead, I used 'app_names' rather than 'app_name' - typo.
My bad!
Ed
On Saturday, Nove
Hi all,
I am getting started with Django, and working through the tutorial. I am
currently stuck at part 4, as follows.
https://docs.djangoproject.com/en/1.11/intro/tutorial04/
Specifically, I am getting the following error.
NoReverseMatch at /polls/1/
'polls' is not a registered namespace
>
> Resolved although at the moment I don't have the answer to my specific
> questions.
>
I found a working and maintained script for installing on Ubuntu.
I can't say how extraordinary it is to actually find a Graphite install
script that sets up Django in working order
https://github.com/gdb
Apache 2.4 on Ubuntu 13.10
First,
If anyone knows of a working install script to install Graphite on any
distro preferably (but not critical) using Apache2.4, gunicorn and WSGI,
I'd appreciate it.
I've been wending my way through a variety of undocumented and less
documented issues that differ
doc:disable
auto-escaping
This will not be escaped: {{ data|safe }}
--
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/-/JtUzSEmy2X4J.
To post to this group, s
#model
class Article(models.Model):
udate=models.DateTimeField(auto_now=True,auto_now_add=True)
markdown_content=models.TextField()
html_content=models.TextField(editable=False)
def save(self):
self.html_content=markdown(self.markdown_content)
self.update=datetime.da
what is value of the etc?
2012/4/29 Alan Mo :
> My dictionary is as follows:
>
> data={"BE1234":"abc", "BA3212":"efg", etc}
>
> I call it through django templates. According to the online manual, they say
> "if your context contained a dictionary data, the following would display
> the keys and
"from userena.models import UserenaBaseProfile " in settings.py cause this
problem.
--
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/-/AA_cMGHU4XYJ.
To post t
;
> Brian Schott
> bfsch...@gmail.com
>
>
>
> On Apr 22, 2012, at 11:41 PM, su wrote:
>
> I set ANONYMOUS_USER_ID in my project setting.
> It doesn't work.
>
>
> Error message:
> ---
>
>
> Traceback (most recent call la
/python2.7/dist-packages/django/conf/__init__.py",
line 93, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
File "/home/su/document/django/sim
If you have vps ,django+nginx+uwsgi is an easy way. You can google
"django+nginx+uwsgi " .
在 2012年4月8日星期日UTC+8下午9时59分51秒,KasunLak写道:
>
> Hi all,
>
> I have created a website using django. I want to host it now. Can you
> suggest me a best way to host it? I have noticed it is possible to
> hos
It works fine with DEBUG=True. But when I set settings.DEBUG=False, I can,t
access my app on dashboard except sites and auth.
It is strange. Any idea?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
htt
like this:
your_project---
|---__init__.py
|---settings.py
|---urls.py
|---manage.py
|---app_A---
|
|---__init__.py
Dear All!
I want to create Django login form via facebook. So I am using with
django-social-auth.
Can every one guide me in detail how should I do continuously after
clone django-social-auth to my project?
Regards
Su
--
You received this message because you are subscribed to the Google Groups
14 matches
Mail list logo