Dropbox with Django

2011-12-17 Thread matty
I wrote a small app to track my comic collection and I just use the
development server and admin interface to access it when I want.  I
was thinking of dropping the entire project into dropbox and using it
to sync so that I can access the db on any of my computers using the
development server.  I have django installed on the necessary
computers.  It sounds like a good idea but I am not sure sure if
sqlite would have issues syncing.  I don't intend to run this app on
more then one computer at a time so I can't see why I would have
issues with sync.  This is just for personal use so I don't feel like
throwing it up into a server(I do have one) nor do I feel like hosting
it from home but I would do them if this would cause any issues.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Gallery plugin

2011-12-17 Thread zzeus
Imagestore? http://pypi.python.org/pypi/imagestore

On 17 дек, 21:01, Lexa Po  wrote:
> Hello,
>
> I am looking for an any plugin for the DjangoCMS that will provide Gallery.
> Any suggestions with *good documentation and quick start tutorial*?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Website Documentation Search broken?

2011-12-17 Thread Jacob Kaplan-Moss
On Sat, Dec 17, 2011 at 12:30 AM, kenneth gonsalves
 wrote:
> thanks for the info - the search *has* improved, for example a search
> for get_FOO_display used to fail, it now succeeds. But I still need
> ddg's site search for multiword searches.

Can you be a bit more specific? If there's a bug I'd like to fix it,
but I'm not having any issues with "multiword searches"; for example:

* https://docs.djangoproject.com/search/?q=form+wizard=5
* https://docs.djangoproject.com/search/?q=auth+middleware=5
* https://docs.djangoproject.com/search/?q=database+routers=5

Jacob

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Creating websites like Amazon/Ebay using Django

2011-12-17 Thread Jisson Varghese
well Django is suitable for web application development.
Django uses Python for serverside
Mysql is a good choice as Database.In a web app database stores user
credentials,sessions,and items,its price(in your case).
I suggest SQlalchemy (ORM).
first try with djnago orm (models),then shift to sqlalchemy.
learn basics of Html,javascript,ajax,jquery,I recommand
www.w3schools.com(for a beginner).

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Gallery plugin

2011-12-17 Thread Lexa Po
Hello,

I am looking for an any plugin for the DjangoCMS that will provide Gallery. 
Any suggestions with *good documentation and quick start tutorial*?

-- 
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/-/y20am68Xre8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem re-creating SQLite database with manage.py...

2011-12-17 Thread Ramiro Morales
On Fri, Dec 16, 2011 at 5:44 PM, J. Marc Edwards
 wrote:
>
> # sqlite database for testing
> DATABASES = {
>     'default': {
>     'ENGINE': 'django.db.backends.sqlite3',
>     'NAME': os.path.join(PROJDIR, 'db.sqlite'),
>     }
> }
>
> SOUTH_DATABASE_ADAPTERS = {
>     'default': "south.db.mysql"
> }

You are:

* Telling Django to use the SQLite3 backend
* South to use its MySQL support code.
* Getting the following text in the next to last line of the traceback:

File 
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/db/mysql.py",
line 38, in connection_init
cursor = self._get_connection().cursor()

Note the python module it mentions is /south/db/mysql.py,
that's what tracebacks are great for, if you read them
you quickly can get clues about what's wrong with your setup.

-- 
Ramiro Morales

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Problem re-creating SQLite database with manage.py...

2011-12-17 Thread eldo
may be you shold change the settings become like this one in settings.py  
file

==
DATABASES = {
'default': {
'ENGINE': 'sqlite3', <-- change it to sqlite3
'NAME': '/home/[linux_user]/[django_project]/[database_name].db',  <-  
change the value to your project location with dbname

'USER': '',  # Not used with sqlite3.
'PASSWORD': '',  # Not used with sqlite3.
'HOST': '',  # Set to empty string for  
localhost. Not used with sqlite3.
'PORT': '',  # Set to empty string for  
default. Not used with sqlite3.

}
}
==
hope it solve your problem bro

On Sat, 17 Dec 2011 03:44:56 +0700, J. Marc Edwards  
 wrote:



I'm trying to re-create my SQLite database from scratch.  I am now
receiving the following error message from:

*(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$ python
./manage.py syncdb
Syncing...
Traceback (most recent call last):
  File "./manage.py", line 11, in 
execute_manager(settings)
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 438, in execute_manager
utility.execute()
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/__init__.py",
line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 191, in run_from_argv
self.execute(*args, **options.__dict__)
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 220, in execute
output = self.handle(*args, **options)
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/core/management/base.py",
line 351, in handle
return self.handle_noargs(**options)
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/management/commands/syncdb.py",
line 87, in handle_noargs
db.connection_init()
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/South-0.7.3-py2.7.egg/south/db/mysql.py",
line 38, in connection_init
cursor = self._get_connection().cursor()
  File
"/home/jmarcedwards/foobarr/local/lib/python2.7/site-packages/django/db/backends/dummy/base.py",
line 15, in complain
raise ImproperlyConfigured("You haven't set the database ENGINE
setting yet.")
django.core.exceptions.ImproperlyConfigured: You haven't set the
database ENGINE setting yet.
(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$ ls
celerybeat-schedule  fixtures __init__.pycmanage.py
requirements.txt  settings.py   static   urls.pyc
env.sh   __init__.py  local_tests.py  manage.pyc
run_server.sh settings.pyc  urls.py
(foobarr)jmarcedwards@jmelinux:~/git/django-nimbis/projects/dev$
*
sys.path.insert(0, PROJDIR)
sys.path.insert(0, APPSDIR)

# sqlite database for testing
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(PROJDIR, 'db.sqlite'),
}
}

SOUTH_DATABASE_ADAPTERS = {
'default': "south.db.mysql"
}

I am working from within the directory where my manage.py and
settings.py are located.  It seems that perhaps my settings.py file is
not being picked up from the same directory.  I'm getting the same error
inside of my Eclipse Django PyDev environment.

Are there any more direct, manual process for invoking the syncdb with
the settings.py and generating my database?

Regards, Marc



--
Using Opera's revolutionary email client: http://www.opera.com/mail/

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: GMail/Hotmail style checkbox drag-and-drop for Satchmo product groups

2011-12-17 Thread Richard Shebora
You may want to check out the category / product selection method in the
project at http://getlfs.com/ . They have some very good ideas on custom
user interfaces.

You can quickly select categories visually from the products point of view,
or select products from a list from the category's point of view. I love
the product detail view of the categories because it is very intuitive, but
I think from the category detail a simple list of products is going to be a
problem with large product lists. Some room for improvement there, but very
nice too. They have a demo.

I am not a user interface expert but it is clear this is an area of need.

Richard

On Sat, Dec 17, 2011 at 1:09 AM, Alec Taylor  wrote:

> Good afternoon,
>
> I am considering building a GMail/Hotmail style checkbox drag-and-drop
> for Satchmo product groups.
>
> e.g.: http://i42.tinypic.com/110kwfk.png
>
> What do you think of this design?
>
> How would I go about building this in Satchmo?
>
> Thanks for all suggestions,
>
> Alec Taylor
>
> FYI: I'd be happy to contribute this back to satchmo (if you want!)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Satchmo users" group.
> To post to this group, send email to satchmo-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> satchmo-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/satchmo-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.