Request Method: GETRequest URL: http://127.0.0.1:8000/Django Version:
1.10.2Python Version: 3.5.2Installed
Applications:['django.contrib.admin', 'django.contrib.auth',
'django.contrib.contenttypes', 'django.contrib.sessions',
'django.contrib.messages', 'django.contrib.staticfiles',
'bookings']Installed
Middleware:['django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware']Template
error:In template C:\Users\Kadhafu\mysite\templates\home.html, error
at line 0   Reverse for 'views.home_page' with arguments '()' and
keyword arguments '{}' not found. 0 pattern(s) tried: []   1 : {%
extends "layout.html" %}   2 :    3 : {% load static from staticfiles
%}   4 :    5 : {% block title %}Online Booking!{% endblock %}   6 :
 7 : {% block content %}   8 : <div class="page-header"   9 :
<h1>Welcome</h1>   10 : </div>Traceback:File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\core\handlers\exception.py"
in inner  39.             response = get_response(request)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\core\handlers\base.py"
in _get_response  187.                 response =
self.process_exception_by_middleware(e, request)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\core\handlers\base.py"
in _get_response  185.                 response =
wrapped_callback(request, *callback_args, **callback_kwargs)File
"C:\Users\Kadhafu\mysite\mysite\views.py" in home_page  5.      return
render(request, 'home.html')File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\shortcuts.py"
in render  30.     content = loader.render_to_string(template_name,
context, request, using=using)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\loader.py"
in render_to_string  68.     return template.render(context,
request)File 
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\backends\django.py"
in render  66.             return self.template.render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in render  208.                     return self._render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in _render  199.         return self.nodelist.render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in render  994.                 bit =
node.render_annotated(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in render_annotated  961.             return self.render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\loader_tags.py"
in render  174.         return compiled_parent._render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in _render  199.         return self.nodelist.render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in render  994.                 bit =
node.render_annotated(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\base.py"
in render_annotated  961.             return self.render(context)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\template\defaulttags.py"
in render  439.             url = reverse(view_name, args=args,
kwargs=kwargs, current_app=current_app)File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\urls\base.py"
in reverse  91.     return
force_text(iri_to_uri(resolver._reverse_with_prefix(view, prefix,
*args, **kwargs)))File
"C:\Users\Kadhafu\Envs\myproject\lib\site-packages\django\urls\resolvers.py"
in _reverse_with_prefix  392.             (lookup_view_s, args,
kwargs, len(patterns), patterns)Exception Type: NoReverseMatch at
/Exception Value: Reverse for 'views.home_page' with arguments '()'
and keyword arguments '{}' not found. 0 pattern(s) tried: []

need help please


On Mon, Oct 24, 2016 at 3:10 PM, <django-users@googlegroups.com> wrote:

> django-users@googlegroups.com
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/django-users/topics>
>  Google
> Groups
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email/#!overview>
> Today's topic summary
> View all topics
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/django-users/topics>
>
>    - Read Only by user in Django Admin
>    <#m_8303809135548745610_group_thread_0> - 1 Update
>    - Running django on demand via my PyQt4 Standalone app
>    <#m_8303809135548745610_group_thread_1> - 1 Update
>    - Methods in Models <#m_8303809135548745610_group_thread_2> - 2 Updates
>    - Django project structure <#m_8303809135548745610_group_thread_3> - 1
>    Update
>    - transferring data between Postgres databases
>    <#m_8303809135548745610_group_thread_4> - 4 Updates
>    - Multiple Types of Account with Abstract User
>    <#m_8303809135548745610_group_thread_5> - 5 Updates
>    - Am I missing a design pattern? My views code somehow isn't as
>    elegant as it should be... <#m_8303809135548745610_group_thread_6> - 2
>    Updates
>    - How to: Django development and debugging
>    <#m_8303809135548745610_group_thread_7> - 7 Updates
>    - Django Unleashed, custom user model
>    <#m_8303809135548745610_group_thread_8> - 1 Update
>    - "canonical" views.py in Django Unleashed book, Chapter 22
>    <#m_8303809135548745610_group_thread_9> - 1 Update
>
> Read Only by user in Django Admin
> <http://groups.google.com/group/django-users/t/a688174764de477c?utm_source=digest&utm_medium=email>
> Naveen Kumar <k.v.nave...@gmail.com>: Oct 24 05:45AM -0700
>
> Hello,
>
> This looks perfect when i don't have any fields in list_editable.
>
> This code is not working with list_editable.
>
> On Sunday, February 8, 2015 at 8:14:26 PM UTC+5:30, Hangloser Firestarter
> ...more
> <http://groups.google.com/group/django-users/msg/8a5bf7609c36b?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> Running django on demand via my PyQt4 Standalone app
> <http://groups.google.com/group/django-users/t/28a5b017393d6795?utm_source=digest&utm_medium=email>
> Dam ian <damian.wilczek.1...@gmail.com>: Oct 23 06:20PM -0700
>
> Hi,
>
> I work on some Smart Home UI / Controlling system using PyQt4, now I'm in
> the point where i need a Web Server to share a "Admin Page" to let the
> user
> change some Smart Home settings (via ...more
> <http://groups.google.com/group/django-users/msg/8a0960cd81e32?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> Methods in Models
> <http://groups.google.com/group/django-users/t/31e3790e1c04338e?utm_source=digest&utm_medium=email>
> Deep Shah <deepshah...@gmail.com>: Oct 24 12:47AM -0700
>
> What kind of methods should be part of the models and what should be in
> the
> views? Can anyone give me an example of a method which should be in a
> Model
> than the views file?
> ...more
> <http://groups.google.com/group/django-users/msg/8954450739cde?utm_source=digest&utm_medium=email>
> Asad Jibran Ahmed <surfer...@gmail.com>: Oct 24 12:14PM +0400
>
> Any method that works *only* with the model data and is used in multiple
> places in the application should be a part of the model.
>
> Next, if you have functions that operate on multiple pieces of ...more
> <http://groups.google.com/group/django-users/msg/896cbde46522e?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> Django project structure
> <http://groups.google.com/group/django-users/t/f90d5e5d33104618?utm_source=digest&utm_medium=email>
> Deep Shah <deepshah...@gmail.com>: Oct 24 12:45AM -0700
>
> I have a django project which is a loyalty program for restaurants. The
> different database tables are- Users (and extending it with User
> Profiles),
> Restaurant Company (the entire chain), Branches, ...more
> <http://groups.google.com/group/django-users/msg/895270e318694?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> transferring data between Postgres databases
> <http://groups.google.com/group/django-users/t/64d5c4cc10195b41?utm_source=digest&utm_medium=email>
> Mike Dewhirst <mi...@dewhirst.com.au>: Oct 24 03:04PM +1100
>
> I have a user who has done a lot of work (instead of playing) in the
> staging server and now wants to get that work into the production database.
>
> I'm about to research selective dump and load ...more
> <http://groups.google.com/group/django-users/msg/8892202537f64?utm_source=digest&utm_medium=email>
> "Aaron C. de Bruyn" <aa...@heyaaron.com>: Oct 23 09:08PM -0700
>
> If you're talking about migrating data using tools outside of django,
> I've used SQLWorkbench[0] in the past.
> I currently use it to selectively sync a handful of tables out of a
> ~900 table database ...more
> <http://groups.google.com/group/django-users/msg/8896bb60aca31?utm_source=digest&utm_medium=email>
> Mike Dewhirst <mi...@dewhirst.com.au>: Oct 24 04:10PM +1100
>
> On 24/10/2016 3:08 PM, 'Aaron C. de Bruyn' via Django users wrote:
> > I've used SQLWorkbench[0] in the past.
> > I currently use it to selectively sync a handful of tables out of a
> > ~900 table ...more
> <http://groups.google.com/group/django-users/msg/88cbe1a4a8a84?utm_source=digest&utm_medium=email>
> Vineet Kothari <me.vineetkoth...@gmail.com>: Oct 24 12:30PM +0530
>
> You will have to dump the back up file for that you can either use GUI
> based tool as other friends has suggested or you can use command line
> .There may be more ways please read two scoops of Django ...more
> <http://groups.google.com/group/django-users/msg/892bf64a3bde1?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> Multiple Types of Account with Abstract User
> <http://groups.google.com/group/django-users/t/35364c46e0e64a3e?utm_source=digest&utm_medium=email>
> Shazia Nusrat <shazianu...@gmail.com>: Oct 23 05:37PM -0700
>
> Hi,
> I am trying to create multiple types of users in my django e-commerce
> project by extending built-in Django user model but I am having issue.
>
> Would appreciate if someone can guide me to right ...more
> <http://groups.google.com/group/django-users/msg/87dd70b0159c3?utm_source=digest&utm_medium=email>
> Asad Jibran Ahmed <surfer...@gmail.com>: Oct 24 06:53AM +0400
>
> Did you change the AUTH_USER_MODEL setting *after *you had already run
> python
> manage.py migrate once (or more) before? From the error I guess what's
> happening is that you already have a User model ...more
> <http://groups.google.com/group/django-users/msg/8853d06eb75b9?utm_source=digest&utm_medium=email>
> Shazia Nusrat <shazianu...@gmail.com>: Oct 23 08:18PM -0700
>
> I've deleted DB and migrations I had previously.
> But still can't figure this out. What I need is....that multiple shops
> needs to get registered with my ecommerce store as well as designers and
> as ...more
> <http://groups.google.com/group/django-users/msg/886a2e62b677b?utm_source=digest&utm_medium=email>
> Asad Jibran Ahmed <surfer...@gmail.com>: Oct 24 08:26AM +0400
>
> In that case I suggest you create multiple models, one for each type of
> user. For example, you could have a SupplierProfile, DesignerProfile,
> etc...
>
> The reason I suggest multiple profile models, ...more
> <http://groups.google.com/group/django-users/msg/88a56e55d0dde?utm_source=digest&utm_medium=email>
> Shazia Nusrat <shazianu...@gmail.com>: Oct 23 09:55PM -0700
>
> I will try it but I have a question that how can I link this to
> Django-regisration-redux app. Like if somebody tries to sign in they should
> have registration choices within registration app to save ...more
> <http://groups.google.com/group/django-users/msg/88be9646a77a1?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> Am I missing a design pattern? My views code somehow isn't as elegant as
> it should be...
> <http://groups.google.com/group/django-users/t/1ff37d89ead81c99?utm_source=digest&utm_medium=email>
> ludovic coues <cou...@gmail.com>: Oct 23 11:52PM +0200
>
> Python doesn't have special structure to separate internal and
> interface. There is a convention of prefixing the internal with an
> underscore. That's all.
>
> So having IPInfo.request being part of ...more
> <http://groups.google.com/group/django-users/msg/874da69bbc27b?utm_source=digest&utm_medium=email>
> Vinicius Assef <vinicius...@gmail.com>: Oct 24 12:57AM -0200
>
> Inline answers follow...
>
> > Tried to look up service layers, but couldn't find examples of how it was
> > supposed to look like - is it supposed to be like a class, and I toss the
> ...more
> <http://groups.google.com/group/django-users/msg/8857a791dea78?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> How to: Django development and debugging
> <http://groups.google.com/group/django-users/t/bc4291df83a8d3c8?utm_source=digest&utm_medium=email>
> Derek <gamesb...@gmail.com>: Oct 23 06:20AM -0700
>
> Is VS Code Editor available on Linux platforms?
>
> On Friday, 21 October 2016 02:30:45 UTC+2, Don Thilaka Jayamanne wrote:
> ...more
> <http://groups.google.com/group/django-users/msg/858dbb7ad4220?utm_source=digest&utm_medium=email>
> "Luis Zárate" <luisz...@gmail.com>: Oct 23 10:38AM -0600
>
> I rarelly debug code with django, with external utility, just trace stack
> when errors appears, buy when I need it I use pydev over Aptana, it has
> heap monitor, breakpoints, step by step run and ...more
> <http://groups.google.com/group/django-users/msg/863c7c739f08d?utm_source=digest&utm_medium=email>
> Don Thilaka Jayamanne <don.jayama...@gmail.com>: Oct 24 09:56AM +1100
>
> @Derek, yes VS Code Editor is available on Linux platforms.
> Have a look here:
> https://code.visualstudio.com/Download
>
> ...more
> <http://groups.google.com/group/django-users/msg/8784c934e6cb3?utm_source=digest&utm_medium=email>
> Don Thilaka Jayamanne <don.jayama...@gmail.com>: Oct 24 09:58AM +1100
>
> @Luis Zárate
> >I dislike VS as IDE but
> Any particular reason for this?
>
> >great if you want to support Django there
> Django is supported today (including template debugging). Right now i'm
> ...more
> <http://groups.google.com/group/django-users/msg/8786e82060023?utm_source=digest&utm_medium=email>
> Don Thilaka Jayamanne <don.jayama...@gmail.com>: Oct 23 04:06PM -0700
>
> @Derek, yes VS Code Editor is available on Linux platforms.
> Have a look here:
> https://code.visualstudio.com/Download
>
> On Monday, 24 October 2016 00:20:26 UTC+11, Derek wrote:
> ...more
> <http://groups.google.com/group/django-users/msg/878d0ccb97252?utm_source=digest&utm_medium=email>
> Don Thilaka Jayamanne <don.jayama...@gmail.com>: Oct 23 04:08PM -0700
>
> @Luis Zárate
> >I dislike VS as IDE but
> Please remember, this is Visual Studio Code (cross platform, open source,
> free) and not to be confused with Visual Sutdio IDE (full blown IDE runs
> ...more
> <http://groups.google.com/group/django-users/msg/878ef7ee1a80a?utm_source=digest&utm_medium=email>
> Don Thilaka Jayamanne <don.jayama...@gmail.com>: Oct 23 04:13PM -0700
>
> Hi ,
> This Python Extension
> <https://marketplace.visualstudio.com/items?itemName=donjayamanne.python>
> too
> supports the features you have mentioned.
> The difference is:
> - Visual Studio Code is ...more
> <http://groups.google.com/group/django-users/msg/879333920d089?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> Django Unleashed, custom user model
> <http://groups.google.com/group/django-users/t/dd4fc57183163b9c?utm_source=digest&utm_medium=email>
> Andrew Pinkham <m...@andrewsforge.com>: Oct 23 11:36AM -0400
>
> Hi Malik,
>
> I'm sorry to hear that you are still having trouble with Chapter 22. I've
> attempted to answer your questions below based on the limited information
> you have provided. You might find a ...more
> <http://groups.google.com/group/django-users/msg/86049bf275fa7?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> "canonical" views.py in Django Unleashed book, Chapter 22
> <http://groups.google.com/group/django-users/t/45760e3629891c77?utm_source=digest&utm_medium=email>
> Andrew Pinkham <m...@andrewsforge.com>: Oct 23 11:09AM -0400
>
> Hi Malik,
>
> > I found that surprising, but then I'm somewhat isolated so don't claim
> to know what other folks are doing. Why is this the common practice? Just
> to save time because the tools are ...more
> <http://groups.google.com/group/django-users/msg/85ed140dd0039?utm_source=digest&utm_medium=email>
> Back to top <#m_8303809135548745610_digest_top>
> You received this digest because you're subscribed to updates for this
> group. You can change your settings on the group membership page
> <https://groups.google.com/forum/?utm_source=digest&utm_medium=email#!forum/django-users/join>
> .
> To unsubscribe from this group and stop receiving emails from it send an
> email to django-users+unsubscr...@googlegroups.com.
>

-- 
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/CAF-G%2B0CQ9GmWLdRwRXLAy-YX7ZZ76Z8TPPejQkV%3DxDsLj-hw3A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to