Skip to content

Commit

Permalink
Add Django 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adamchainz committed Jan 30, 2024
1 parent dc3ad6e commit 0ec385d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/docs/scrapers/django.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ class Django < FileScraper
Licensed under the BSD License.
HTML

version '5.0' do
self.release = '5.0'
self.base_url = "https://docs.djangoproject.com/en/#{self.version}/"
end

version '4.2' do
self.release = '4.2'
self.base_url = "https://docs.djangoproject.com/en/#{self.version}/"
Expand Down

0 comments on commit 0ec385d

Please sign in to comment.