reorganize proto files a bit (#30)
Some checks are pending
test / test (macos-latest) (push) Waiting to run
test / test (ubuntu-latest) (push) Waiting to run
test / test (windows-latest) (push) Waiting to run

This commit is contained in:
Josh Thomas 2024-12-14 00:06:06 -06:00 committed by GitHub
parent b1b3e6a5ec
commit 8e941ba8a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 225 additions and 210 deletions

View file

@ -23,7 +23,7 @@ impl DjangoProject {
pub fn setup(mut python: PythonProcess) -> Result<Self, ProjectError> {
let py = Python::setup(&mut python)?;
match check::GeoDjangoPrereqsRequest::execute(&mut python)?.result {
match commands::check::GeoDjangoPrereqsRequest::execute(&mut python)?.result {
Some(messages::response::Result::CheckGeodjangoPrereqs(response)) => {
if !response.passed {
eprintln!("Warning: GeoDjango detected but GDAL is not available.");
@ -43,7 +43,7 @@ impl DjangoProject {
_ => Err(ProcessError::Response)?,
}
let response = django::GetProjectInfoRequest::execute(&mut python)?;
let response = commands::django::GetProjectInfoRequest::execute(&mut python)?;
let version = match response.result {
Some(messages::response::Result::DjangoGetProjectInfo(response)) => {