try:
from ecomstore import Category, Product
this also can help
http://stackoverflow.com/questions/6508545/importerror-no-module-named-models
суббота, 18 мая 2013 г., 22:40:46 UTC+3 пользователь Kakar написал:
>
> I'm practicing from a book Begining django e-commerce and m stuck in one
> p
Thanks! But i gt d solution, i just had to import catalog.models, as it was
in my project folder. Thanks by d way!
--
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
t
Hello.
How to raise a `ValidationException` in the models `clean` method?
def clean(self):
from django.core.exceptions import ValidationError
raise ValidationError({'title': 'not ok'})
The above does not add the error to the `title` field (when using a form),
but to the non
Thank you,
I finally got this working by doing one app at a time.
Then I had to deal with sequence errors.
I tried and reset them all, now I am hoping I will have no issues when
users start
using my website on Monday.
On Sunday, May 19, 2013 2:55:47 AM UTC-4, Artem Zinoviev wrote:
>
>
> http://
Thanks,
I finished this, by using dump data on one app at a time.
I was trying to do the whole project at once.
I did run into sequence errors.
I followed this.
http://tryolabs.com/Blog/2012/02/10/django-migrating-mysql-postgresql/
On Saturday, May 18, 2013 1:23:04 PM UTC-4, frocco wrote:
>
> H
Doesn't work for me:
SelectFilter is not defined. django neither.
Isn't there any other js file we should include?
Thanks heaps anyway!
On Friday, August 10, 2007 12:38:00 AM UTC+2, Jason McVetta wrote:
>
> A number of people, myself included, have asked this list how the admin
> interface's s
If you have old code, you can still use it with an older Django using the
pip installer
$ pip install Django==1.3.7
K
On Thursday, May 16, 2013 1:58:52 PM UTC-7, Todd Wickizer wrote:
>
> Hello there,
>
> I just install Django yesterday. I am trying to take a calendar app and
> edit it for my
You don't have to become an expert with postgres to use Django. You can do
most of the db development using SQLite and hold off on postgres until you
are ready to deploy.
I'd get a Linux server running in VirtualBox. Install Apache and postgres.
Configure postgres. Install phpPgAdmin.
If you a
On Sunday, May 19, 2013 11:18:07 AM UTC-4, WongoBongo wrote:
> You don't have to become an expert with postgres to use Django. You can do
> most of the db development using SQLite and hold off on postgres until you
> are ready to deploy.
I highly recommend *against* waiting for PostgreSQL unt
*Basic Facts:*
OS: Windows
Python version: 2.7
Django Version: Instant Django(
https://groups.google.com/forum/?fromgroups#!topic/django-users/WLA0ziqbwpg)
.
I have Django installed using Instant Django and everything is fine until I
beging to fiddle with database settings. Here is what my se
Hi,
First set your databasename in settings.py file
'Name': 'db'
then try it. hopefully it will be helpful.
regards,
Avnesh
On Mon, May 20, 2013 at 11:44 AM, Sun Simon wrote:
> *Basic Facts:*
> OS: Windows
> Python version: 2.7
> Django Version: Instant Django(
> https://groups.google.c
issue resolved. I have two settings.py files. One is in mysite and the
other resides in mysite/mysite. This causes the error. I truncated the
first and the issue is gone.
On Monday, May 20, 2013 2:14:41 PM UTC+8, Sun Simon wrote:
>
> *Basic Facts:*
> OS: Windows
> Python version: 2.7
> Django
12 matches
Mail list logo