coleifer/django-news — Issue #2: Error saving URLs longer than 200 characters
Author: piet-byteorbit
Created: 2011-10-19 14:25:30+00:00
State: open

```process_news_feeds``` is now logging the following error, sometimes:

```pytb
Traceback (most recent call last):
[...]
File "[...]/news/management/commands/process_news_feeds.py", line 47, in handle_noargs
result = feed.process_feed()
File "[...]/news/models.py", line 258, in process_feed
article.save_base()
[...]
django.db.utils.DatabaseError: value too long for type character varying(200)
```

I did not investigate deeper, but i'm guessing this is due to the ```Article.url``` field's default ```max_length``` of 200, inherited from ```URLField```. This limit should probably be increased; see: [WWW FAQs: What is the maximum length of a URL?](http://www.boutell.com/newfaq/misc/urllength.html)

What do you think?