Hello,
I am creating an app that keeps track of how many classes a person attends
a month. Basically a person gets 10 classes a month, and each time they
come to a class I deduct a class from their total. On the 1st of each month
at 12:01am I want the class packs to reset.
I've created some co
d anything. Any ideas?
Thanks!
Jak
--
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/-/DDFrllY0yC4J.
To post to this group, send email to django-us
I figured it out. I put the Media folder on the same level as a the
mysite folder and now it seems to work. I think it was a django noob
error.
MEDIA_ROOT ='/Users/Jak/projects/fap/media/'
MEDIA_URL = '/media/'
TEMPLATE_DIRS = (
'/Users/Jak/projects/fap/mysit
ponse ('index.html',
context_instance=RequestContext(request))
But it's still not working.
Thanks again!
On Jul 8, 5:26 pm, Jak wrote:
> Hello All,
>
> I am new to Django and I'm trying to create a simple website. I am
> trying to get an jpg to appear in the base
Hello All,
I am new to Django and I'm trying to create a simple website. I am
trying to get an jpg to appear in the base template but I cant get it
to show up.
In setting.py
MEDIA_ROOT = '/Users/Jak/projects/fap/mysite/media',
MEDIA_URL = '/media/
Hello All,
I am having a difficult time getting the CSS for my web app to appear when
I turn debug mode to false. When debug mode = True all the images show up
fine, but when I turn it to false only the html appears. What do you think
could be happening?
Thanks
Jak
--
You received this
t;
>
>
> > Define it in one and back reference it in the other
>
> > Kevin
> > Please excuse brevity, sent from phone
> > On Jun 1, 2012 12:38 PM, "Jak" wrote:
>
> >> The problem that I'm having is that the model "Question" is not
The problem that I'm having is that the model "Question" is not
defined since I am referencing it after I use it in the Answer
model.
Thanks
Jak
On Jun 1, 12:08 pm, Javier Guerra Giraldez wrote:
> On Fri, Jun 1, 2012 at 10:42 AM, Jak wrote:
> > Each answer has
Hi all,
I am trying to create two django models that reference each other. 1
model is a question and the other model is an answer. Each answer has
a question, and each question has an answer. I cant seem to get it to
work without error. Below is the code.
from django.db import models
cl
We have a Django aplication which depends on Spatialite and Pysqlite.
It works well for testing under Ubuntu, but when we try to install it
on the server, we are getting the following error after installing
PySqlite. We did set it up with define=OMIT_SQLITE_LOAD_EXTENSION
commented out:
django.core
Hello All,
I am new to programming, and I have spent the year learning HTML, CSS,
Python, and now Django. I can build a basic dynamic site on the
development server, but I have no idea how to share this site with the
world. The Django deployment section in the Django book is difficult
to understan
11 matches
Mail list logo