ckelly / django-resume

Django app for presenting and editing a resume
MIT License
24 stars 10 forks source link

Django 1.4 #1

Open jnbek opened 12 years ago

jnbek commented 12 years ago

Any plans to update this for the 1.4 version? Installing this on 1.4 causes a fatal warning about deprecated template functions.

ckelly commented 12 years ago

Hey there,

I'll take a look over the next day or two and let you know. I don't think it'll be an issue though :)

jnbek commented 12 years ago

Awesome!! and thanks for the fast reply

ckelly commented 11 years ago

Hey!

Sorry for the delay! Cross country move and all.

I've updated and rewritten some of the config code to run on 1.4.1. I've tested with 1.4.1 and Python 2.6, and fixed the template deprecation issue. Give it a go and let me know if you see the template issue or any others.

Thanks! -Chris

jnbek commented 11 years ago

Will do, I'll try to get to it this weekend

jnbek commented 10 years ago

Question, I remember having some issues with the urls.py and setings.py when I set up the 1.3 version way back in the day. What kind of gotchas should I be aware of when upgrading to the latest pull ? Note, I'm not very good with python at all, and my django experience is even less, so I basically need the preschool hand holding ;-) One of these days I'll get brave and take the plunge but for now... :D

aless80 commented 6 years ago

Hi, I'm afraid it is broken again.

kinkyboy python manage.py runserver
Unhandled exception in thread started by <function wrapper at 0x7f41ea13e230>
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/core/management/commands/runserver.py", line 113, in inner_run
    autoreload.raise_last_exception()
  File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 249, in raise_last_exception
    six.reraise(*_exception)
  File "/usr/local/lib/python2.7/dist-packages/django/utils/autoreload.py", line 226, in wrapper
    fn(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/registry.py", line 108, in populate
    app_config.import_models(all_models)
  File "/usr/local/lib/python2.7/dist-packages/django/apps/config.py", line 199, in import_models
    self.models_module = import_module(models_module_name)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/home/kinkyboy/django-resume/django_resume/resume/models.py", line 70, in <module>
    class Job(models.Model):
  File "/home/kinkyboy/django-resume/django_resume/resume/models.py", line 74, in Job
    company_url = models.URLField('Company URL', verify_exists=False)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", line 2283, in __init__
    super(URLField, self).__init__(verbose_name, name, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/db/models/fields/__init__.py", line 1043, in __init__
    super(CharField, self).__init__(*args, **kwargs)
TypeError: __init__() got an unexpected keyword argument 'verify_exists'
kinkyboy pip show django
---
Name: Django
Version: 1.10.1
Location: /usr/local/lib/python2.7/dist-packages
Requires: 
ckelly commented 6 years ago

hi @aless80 I will try and take a look over the next week or so. I will welcome PRs as well if you get to it first :)

aless80 commented 6 years ago

Hello, I am a beginner in django but i started fixing it until I decided to recreate the project from scratch.. It works now. See my forked repo:

https://github.com/aless80/django-resume