Giter Site home page Giter Site logo

django-crm's People

Watchers

 avatar

django-crm's Issues

syncdb errors

Environment: Snow Leopard with all latest updates
* default python
* django trunk installed
* python imaging library installed
* sample_project trunk with settings.py edited to point to database server and 
secret key added

What steps will reproduce the problem?
python manage.py syncdb

What is the expected output? 
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 312 object(s) from 2 fixture(s)

What do you see instead?
Creating tables ...
Creating table auth_permission
Creating table auth_group_permissions
Creating table auth_group
Creating table auth_user_user_permissions
Creating table auth_user_groups
Creating table auth_user
Creating table auth_message
Creating table django_admin_log
Creating table django_content_type
Creating table django_session
Creating table django_site
Creating table contactinfo_locationtype
Creating table contactinfo_location
Creating table contactinfo_address
Creating table contactinfo_phone
Creating table country
Creating table usstate
Creating table crm_contact_locations
Creating table crm_contact_business_types
Creating table crm_contact
Traceback (most recent call last):
  File "manage.py", line 18, in <module>
    execute_manager(settings)
  File "/Users/nilesh/Documents/svn/djtrunk/django/core/management/__init__.py", line 438, in execute_manager
    utility.execute()
  File "/Users/nilesh/Documents/svn/djtrunk/django/core/management/__init__.py", line 379, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/nilesh/Documents/svn/djtrunk/django/core/management/base.py", line 191, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/Users/nilesh/Documents/svn/djtrunk/django/core/management/base.py", line 220, in execute
    output = self.handle(*args, **options)
  File "/Users/nilesh/Documents/svn/djtrunk/django/core/management/base.py", line 351, in handle
    return self.handle_noargs(**options)
  File "/Users/nilesh/Documents/svn/djtrunk/django/core/management/commands/syncdb.py", line 97, in handle_noargs
    cursor.execute(statement)
  File "/Users/nilesh/Documents/svn/djtrunk/django/db/backends/util.py", line 15, in execute
    return self.cursor.execute(sql, params)
  File "/Users/nilesh/Documents/svn/djtrunk/django/db/backends/mysql/base.py", line 86, in execute
    return self.cursor.execute(query, args)
  File "build/bdist.macosx-10.6-universal/egg/MySQLdb/cursors.py", line 176, in execute
  File "build/bdist.macosx-10.6-universal/egg/MySQLdb/cursors.py", line 92, in _warning_check
_mysql_exceptions.Warning: Converting column 'picture' from VARCHAR to TEXT

Original issue reported on code.google.com by [email protected] on 2 Oct 2010 at 10:49

Another dependency is required (for the sample application): Markdown

What steps will reproduce the problem?
1. Add an interaction
2. View the interactions for that person e.g. 
http://localhost:8000/crm/person/1/

What is the expected output? What do you see instead?
A webpage.
A stack trace indicating that the python 'markdown' library is required.

What version of the product are you using? On what operating system?
Django 1.2.3 on Windows 7.



Original issue reported on code.google.com by [email protected] on 30 Nov 2010 at 2:12

Attachments:

quick start instructions need update

try this
svn checkout http://django-crm.googlecode.com/svn/trunk sample_project

instead of this
svn checkout http://django-crm.googlecode.com/svn/trunk/sample_project 
sample_project

Original issue reported on code.google.com by [email protected] on 18 Oct 2010 at 4:54

Not Compatible with Django 1.2 - Patch attached

What steps will reproduce the problem?
The following fails when running on Django 1.2:
1. ImportError when trying to import email_re
2. CSRF failure when trying to login

email_re ImportError is because email_re was moved in Django 1.2
(http://code.djangoproject.com/ticket/12516)

CSRF failure is due to changes in the CSRF middleware - really only that it
is now enabled by default. All forms which POST data must include a {%
csrf_token %} tag.

Patch attached which resolves the email_re import by trying to import from
the old location, and then trying the new location on ImportError. Patch
adds a {% csrf_token %} only to the login form. Other forms seemed to work
on my install without the token, but login did not work without the tag.


Original issue reported on code.google.com by lawlor.chris on 31 May 2010 at 3:52

Attachments:

FieldError at /crm/interaction/

After creating a Person, a Business and an Interaction for the person, 
clicking 'All Interactions' on the Dashboard I got the following:

FieldError at /crm/interaction/
Cannot resolve keyword 'project' into field. Choices are: cdr_id, completed, 
contacts, date, id, memo, type
Request Method: GET
Request URL:    http://127.0.0.1:8001/crm/interaction/
Exception Type: FieldError
Exception Value:    
Cannot resolve keyword 'project' into field. Choices are: cdr_id, completed, 
contacts, date, id, memo, type
Exception Location: 
/usr/lib/pymodules/python2.6/django/db/models/sql/query.py in setup_joins, 
line 1737


Traceback:
File "/usr/lib/pymodules/python2.6/django/core/handlers/base.py" in 
get_response
  92.                 response = callback(request, *callback_args, 
**callback_kwargs)
File "/usr/lib/pymodules/python2.6/django/contrib/auth/decorators.py" in 
__call__
  78.             return self.view_func(request, *args, **kwargs)
File 
"/home/setas/dev/tests/crm/sample_project/external/crm/crm/decorators.py" in 
wrapper
  21.             response = view_func(*args, **kwargs)
File "/home/setas/dev/tests/crm/sample_project/external/crm/crm/views.py" in 
list_interactions
  383.             Q(memo__icontains=search)
File "/usr/lib/pymodules/python2.6/django/db/models/manager.py" in filter
  129.         return self.get_query_set().filter(*args, **kwargs)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in filter
  498.         return self._filter_or_exclude(False, *args, **kwargs)
File "/usr/lib/pymodules/python2.6/django/db/models/query.py" in 
_filter_or_exclude
  516.             clone.query.add_q(Q(*args, **kwargs))
File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in add_q
  1671.                     self.add_q(child, used_aliases)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in add_q
  1675.                             can_reuse=used_aliases)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in 
add_filter
  1569.                     negate=negate, process_extras=process_extras)
File "/usr/lib/pymodules/python2.6/django/db/models/sql/query.py" in 
setup_joins
  1737.                             "Choices are: %s" % (name, ", 
".join(names)))

Exception Type: FieldError at /crm/interaction/
Exception Value: Cannot resolve keyword 'project' into field. Choices are: 
cdr_id, completed, contacts, date, id, memo, type

Original issue reported on code.google.com by [email protected] on 25 Jan 2010 at 6:43

Another dependency is required (for the sample application): Textile

What steps will reproduce the problem?
1. Add a business
2. View the details of that business e.g. http://localhost:8000/crm/business/2/

What is the expected output? What do you see instead?
A webpage.
A stack trace indicating that the python 'textile' library is required.

What version of the product are you using? On what operating system?
Django 1.2.3 on Windows 7.

Simple fix - just list this as a dependency on the main documentation page.

Original issue reported on code.google.com by [email protected] on 30 Nov 2010 at 2:16

Attachments:

Multicompany projects

What steps will reproduce the problem?
1. Try to create a project

What is the expected output? What do you see instead?
Expected: the option to select multiple companies for a large project
See: a dropdownlist allowing only a single company (foreign key)

What version of the product are you using? On what operating system?
trunk

Please provide any additional information below.


Original issue reported on code.google.com by [email protected] on 5 Sep 2009 at 9:26

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.