Questions tagged [django-1.6]

Django 1.6 is a version of the Django framework, released November 2013. Please only use this tag if your question relates specifically to this version.

Django 1.6 is a version of the Django framework, released November 2013. Please only use this tag if your question relates specifically to this version.

See the release notes for more details.

208 questions
0
votes
1 answer

Django auth login passing empty request to login.html

On upgrading from Django 1.3 to 1.6, I notice that I no longer have access to the request in 'registration/login.html'. Because I have a shopping cart on every page (including the login page), this now raises an "AttributeError at /accounts/login/…
0
votes
1 answer

Why is Django missing the custom context processor?

My django 1.6 project is structured: cg1 cg1 settings.py cont_proc.py inti, etc. app app manage.py templates cont_proc.py reads: from django.conf import settings def misc(request): return {'SITE_URL':…
arthur.00
  • 175
  • 1
  • 6
0
votes
3 answers

User-based views in Django 1.6

This is probably a very newbie question however I'm kind of stuck. I've been looking around for a way to render a user based view for a calendar scheduler however I can't seem to find anything about user-based views in django. It's probably really…
Hevlastka
  • 1,878
  • 2
  • 18
  • 29
0
votes
1 answer

How can I add 'blog.site_name.com' to urls.py in Django

How can we add 'blog.site_name.com' or such types of url in Django instead of 'site_name.com/blog/' to urls.py in Django? I want to make URLs like 'mail.google.com', 'drive.google.com'. How can we make such urls in Django? Is there any easy way to…
Anish Shah
  • 7,669
  • 8
  • 29
  • 40
0
votes
1 answer

django 1.6 tutorial3 "current url doesn't match any pattern"

Python 2.7.3 I am new in django and I am following the tutorial at : https://docs.djangoproject.com/en/1.6/intro/tutorial03/ I followed exactly the steps described: Here is a copy/paste from files in the project: cat polls/views.py from django.http…
AJN
  • 1,196
  • 2
  • 19
  • 47
0
votes
1 answer

How to install django-cms 3 on django 1.6

I need to run django-cms 3 on Django 1.6, but I couldn't! Does anybody know a step by step tutorial for running django-cms 3 on django 1.6?
Ali Hallaji
  • 3,712
  • 2
  • 29
  • 36
0
votes
0 answers

Broken library in Django 1.6 - urls reverse / NoReverseMatch even when templates corrected

Using django-pendulum and trying to get it to work w/the latest Django 1.6. Using a sample blank project, it seems to break trying to reverse urls. I even escaped the {url..} syntax in the templates but no luck. Any ideas on how this can be fixed to…
user955879
  • 33
  • 5
0
votes
1 answer

How to show a category list made by generic views in multiple pages?

I'm trying to build my own Blog app with Django 1.6. I've generated a category list by generic views like this: urls.py url(r'^categories/?$', views.ListView.as_view(model=Category), name='categories'), category_list.html

Categories

sheshkovsky
  • 1,302
  • 3
  • 18
  • 41
0
votes
1 answer

django Context syntax error

I'm new to Django and try to create a simple blog, but a syntax error keeps appearing in the views.py file in the Context line. I use Django 1.6, and the syntax seems compatible with this version. Here's the simple method from views.py, where I get…
user1994667
0
votes
1 answer

Place players only on one team with relational table

After going through several stackoverflows I still have yet to find something that solves this. I'm hoping it's just syntax as I'm a novice. Admin: from django.contrib import admin from team_editor.models import Player, Team, TeamMembers class…
Vish
  • 102
  • 8
0
votes
1 answer

Create Django object outside a view using modeltranslation

I'm writing some tests and I need to create some objects but I get this error when I try to create some object outside a Django View cat = Category.objects.create(catalog=c, name="Category one") Returns TypeError: 'name_es' is an invalid keyword…
Diego Navarro
  • 9,316
  • 3
  • 26
  • 33
-1
votes
1 answer

django: keeping related name and original FK link back name

In Django model, you could specify a related_name for a Foreign Key object. However, using related_name seems to disable the "original related name", meaning for A --> B, then you don't get B.A_set anymore. Is it possible to have both?
totoro
  • 3,257
  • 5
  • 39
  • 61
-2
votes
1 answer

AngularJS/Django Post Response Data

I'm using AngularJS for the front-end and Django for the backend of a web app I'm working on. Right now I'm working on logging in users and I'm having a strange problem. Heres the relevant Angular code: app.factory('AuthService', ["$http", "$q",…
MichaelJK
  • 17
  • 4
1 2 3
13
14