Skip to content

[admin/ipam] Add export all subnets CSV action #104#203

Open
Stoiicc wants to merge 1 commit intoopenwisp:masterfrom
Stoiicc:issues/104-export-all-subnets
Open

[admin/ipam] Add export all subnets CSV action #104#203
Stoiicc wants to merge 1 commit intoopenwisp:masterfrom
Stoiicc:issues/104-export-all-subnets

Conversation

@Stoiicc
Copy link

@Stoiicc Stoiicc commented Dec 13, 2025

Checklist

  • I have read the OpenWISP Contributing Guidelines.
  • I have manually tested the changes proposed in this pull request.
  • I have written new test cases for new code and/or updated existing tests for changes to existing code.
  • I have updated the documentation.

Reference to Existing Issue

Closes #104 .

Description of Changes

Please describe these changes.

This PR adds an Export Subnets action to the Subnet admin page, allowing administrators to export all subnets in CSV format.

The exported CSV uses the same structure as the existing import template, ensuring consistency between import and export workflows.

Ensured export order by sorting subnets by creation time.

Added an export button to the subnet admin page  to export
all subnets in CSV format . The export is ordered by creation time,
optimized with select_related and covered by tests verifying multi-
subnet CSV output.

Fixes openwisp#104
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] Allow importing/exporting everything

1 participant